sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [sis] branch geoapi-3.1 updated (d416de4 -> 93dca74)
Date Wed, 17 Apr 2019 08:49:30 GMT
This is an automated email from the ASF dual-hosted git repository.

desruisseaux pushed a change to branch geoapi-3.1
in repository

    from d416de4  Merge branch 'geoapi-4.0' into geoapi-3.1
     add 92465b6  Coverage : add Linear pixel iterator
     add fc59837  Coverage : fix checkstyle error in LinearIterator
     add a960a63  Add the missing Apache license header. Pixel iterator implementations should
be package-private.
     add 0515946  Coverage : add PixelIterator getNumBands and getSampleRange methods
     add b9a0ead  Move the calculation of sample range into getSampleRange() method since
this information is expected to be requested only one or none at all. Take in account the
number of bits per pixel. Reorder a few methods for keeping related methods together. Minor
     add 4a14235  SampleDimension.getNodataValues() should returns the "no data values" as
NaN values.
     add 4d757f3  Add netCDF convention for Global Change Observation Mission - Climate (GCOM-C).
     add a6762e8  Defines a customized CoordSysBuilder (from UCAR API) as a fallback when
the UCAR library could not create a coordinate system using default conventions. This is required
(but not sufficient) for decoding GCOM-W files.
     add 3e07d96  Modify the way GridGeometry are created in order to prepare for future development
where some variable dimensions are bands instead than spatiotemporal dimensions. The information
about bands will be stored in a Variable field, based on additional temporary information
to be carried by Variable.Adjustment in a future commit.
     add 8ae0b6d  Complete the filtering of spatio-temporal dimensions (i.e. exclude bands)
in Variable.getGridGeometry().
     add c9c9d89  Moved 'GridResource' and 'Image' classes to org.apache.sis.internal.netcdf
package. This allow us to restrict the scope of some Variable methods.
     add b38a9a6  Refactor the ReferencingUtilities.adjustWraparoundAxes(…) static method
as a WraparoundAdjustment class. The intent is to make easier to improve it with handling
of ProjectedCRS for now, maybe additional kinds of CRS in the future.
     add d290d00  AxisDirections.indexOfColinear(…) should be more robust to case where
more than one axis may be colinear. Multiple axes having the same direction may happen with
TemporalCRS (e.g. one axis is "runtime" and another axis is "time").
     add 30bf647  Add a clarification in javadoc.
     add f943c9d  Bug fix: when the 'areaOfInterest' has been converted to geographic coordinates,
a conversion needs to be applied on 'domainOfValidity' too.
     add 2ca3cea  Coverage : new DisjointExtentException used to detect disjoint queries on
     add f5a77be  Complete the tests and fix an erroneous shift when the AOI is outside the
domain of validity.
     add 9c98824  Add error message, add documentation, add test, and remove calls to Math.min/max
that became useless because of the new exception.
     add 87ea45d  Take in account the fact that the valid range of sample values may vary
for different bands.
     add edaef36  Prepare netCDF RasterResource to handle variables having bands.
     add c9f4e82  More development (but still incomplete) for the support of a netCDF dimension
as bands.
     add 825bb78  Add synchronization on netCDF reader for multi-threading.
     add 23333e6  Fix a NullPointerException when a netCDF file contains no global attribute.
     add 7c0adf5  More complete support of "bands in variable" in RasterResource. We still
have to add the support in Raster class.
     add dc9805f  Fix a typo in an error message.
     add 7190f99  RasterResource needs to take subsampling in account when computing the offset
for reading a multi-banded variable.
     add d38193b  First version of a netCDF reader capable to make an image from a variable
where one of the variable dimensions is the set of bands.
     add 41ccf9c  Bug fix: force initialization of UCAR coordinate systems.
     add 42b60b7  Coverage : add WritableGridCoverageResource interface
     add 586cbed  Coverage : fix checkstyle errors
     add 641cbee  Specifies the meaning of RenderedImage.getMinX()/getMinY() resulting from
a call to GridCoverage.render(…). Throw an exception if the given extent is out of bounds.
Fix ImageRenderer.setSampleStrid(int) method contract.
     add ced1aae  Clarifications in documentation.
     add 556ca7b  Consolidation of the way pixel interleaved sample models are constructed
for netCDF variables where one dimension is interpreted as bands.
     add 39162de  Add a GridExtent.expand(long...) method.
     add dc38509  Fix unexpected DisjointExtentException when requested image size is 1x1
     add 32c2cdd  GridDerivation.slice(DirectPosition) shall perform its computation using
the transform mapping pixel center, not pixel corner. This is different than GridDerivation.subgrid(Envelope)
which needs to continue to use pixel corner.
     add 670d050  Decoding of two-dimensional localization grid from netCDF file check if
the grid stands for a Mercator projection.
     add 342ad47  Upgrade checkstyle dependency.
     add a685c8a  When computing a linear regression for LocalizationGridBuilder purpose,
minimize the errors on the grid indices instead than the errors on the geospatial coordinates.
This is because errors on geospatial coordinates do not hurt, since they are corrected by
the localization grid in the second step of the coordinate transformations. However errors
on grid indices are problematic during the inverse transformation, since they can lead to
"no convergence" errors.
     add 2572a48  Linearization should be attempted only when instructed by conventions for
a given netCDF file.
     add 77172ed  Fix a NullPointerException when the envelope do not contains an horizontal
     add 5617967  fix(raster): Ensure wrap-around trick is applied on grid geometry slicing.
     add da98b1f  chore(raster): Add tests for grid derivation: slicing on a corner, slicing
with wrap-around.
     add 923da52  Add Alexis Manin in the list of project contributors.
     add b6198d0  Decode Coordinate Reference System from a netCDF file with following attributes:
"EPSG_code", "ESRI_pe_string", "GeoTransform", "spatial_ref". Note that those attributes are
not part of CF-conventions.
     add 9d35fc2  Coordinate Reference System parsed from "grid_mapping" attributes should
appear in metadata.
     add 232e335  Add "Pseudo Plate Carrée" pseudo-projection (EPSG:9825) as a potential
fallback when map projection is not specified in a netCDF file.
     add 5806fe2  Add CommonCRS.GRS1980 enumeration value for "Unknown datum based upon the
GRS 1980 ellipsoid" (EPSG:4019). This is useful for parsing netCDF file, which often do not
specify the datum.
     add f5fa5b8  If the CRS in a netCDF file seems to be a map projection but the Grid class
does not have enough information for building the right map projection, creates an "Not specified"
projection. This "not specified" projection may be replaced by a projection parsed from Well
Known Text at a later stage during the netCDF reading process, but creating an instance in
in Grid class allow us to preserve information like mapping from CRS axes to grid axes.
     add 0826f4c  For parsing GDAL attributes, use GDAL flavor of WKT 1. Avoid to parse the
same WKT many times.
     add 54fd75a  Refactor WraparoundAdjustment in a way that makes easier to share code between
the method working on Envelope and the method working on DirectPosition.
     add a8631e1  Make GridDerivation.subgrid(…) consistent with GridDerivation.slice(…)
regarding IncompleteGridGeometryException being thrown if `areaOfInterest` has a CRS but `GridGeometry`
has none.
     add 552126a  Coverage : add forConvertedValues method
     add b533404  If correction for ±180° meridian crossing results in a GridGeometry well
outside its original longitude range, apply a 360° translation on the whole grid.
     add 32ac912  Add documentation and checks against integer overflow (ArithmeticException).
Make ConvertedGridCoverage package-private and declare ConvertedColorModel as compatible with
ConvertedSampleModel only. Avoid the use of MathTransforms.compound(…) since in this particular
case an ordinary loop will be more efficient.
     add c526b03  Internal class renaming.
     add 37e689f  Fetching file extension shall work in the case where the given `storage`
argument is already an instance of StorageConnector.
     add 8a7a5d8  Add comment explaining better how the scale factors are computed in `GridDerivation.subgrid(…)`.
     add fdf30a0  Resolve name collision in RasterResource.identifier when two netCDF variables
use the same "standard_name" attribute value.
     add 3b01827  Fix an IllegalArgumentException when creating one-banded image of type DataBuffer.TYPE_INT.
Remove ScaledColorSpace from public API (provide a static method instead). Remove ColorModelFactory.getNumBands(ColorModel)
     add c0944af  Revert commit a685c8a1bf0b412a544713f1ceda9749a995a5d6 (compute linear regression
by minimizing errors in grid indices instead than geospatial coordinates). The reason is because
the "compute linear regression in reverse way" approach brings more complexity and is not
sufficient anyway; we still needs a more sophisticated iterative algorithm in InterpolatedTransform.Inverse.
     add 40a34e9  Add explanation about the "compute linear regression in reverse way" approach
that we reverted in previous commit, so if we want to try it again we know which commit to
     add 6092c0a  First draft of an InterpolatedTransform algorithm using derivative (Jacobian
matrix) for deciding in which direction to compensate for errors. Not yet enabled.
     add 69e3bec  Refactor the way we use ParameterDescriptorGroup, ParameterValueGroup and
"grid to target" transform in GridDatumShift in such a way that we can keep GridDatumShiftFile
internal to NADCON and NTv2 transformations. This avoid the confusion declaration of ResidualGrid
as a subtype of DatumShiftGridFile. Also moved the DatumShiftGrid.normalizedToGridX/Y methods
as package-private methods in DatumShiftTransform; those methods should never have been public,
since their relati [...]
     add d6d1dce  Netcdf file opened with the UCAR library should use NetcdfDataset.Enhance.CoordSystems
at construction time. Enhancements just before requesting coordinate systems is sometime too
late. The symptom we observed was that if metadata were requested before the resources, no
grid resources were found because the CS were not found. Invoking NetcdfDataset.enhance(…)
at construction time fix that.
     add 4685195  Enable InterpolatedTransform.Inverse method based on Jacobian matrix (but
still needs more test).
     add 1f24dff  Calculation of derivative outside the grid must be consistent with the way
values are extrapolated by `interpolateInCell`.
     add 6fd90af  Add a "Satellite ground track" transform (internal only) for trying to make
GCOM data a little bit more linear before to let LocalizationGridBuilder to its job.
     add 0889fea  Tuning of number of itetations and accuracy threshold.
     add ccf389e  Minor cleanup of debugging code.
     add 8b63089  Store localization grids using single precision instead of double precision
for reducing memory consumption. We presume that single precision is sufficient because the
values stored in the `offsets` array are differences, not absolute coordinates. The absolute
coordinates will be computed by adding `double` values to those offsets.
     add 4b65135  Reduce the amount of copy-and-paste in LinearIteratorTest by leveraging
the tests provided by DefaultIteratorTest.
     add 6e89c09  Use StrictMath in test classes as a matter of principle.
     add aafb312  Do not return NaN for "no convergence" even in the case of extrapolations,
because tests have shown that the `grid.isCellInGrid(x,y)` may return `false` (i.e. the point
seems to be outside the grid) even when in reality it should have been inside. In other words,
we can not be sure that an "extrapolation" is really outside the grid. The algorithm may have
fail to converge and think that the point is outside even when the point was deeply inside
(not just on the border) i [...]
     new 93dca74  Merge branch 'geoapi-4.0' into geoapi-3.1. This include mostly netCDF work,
with sis-raster improvements in support.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.

Summary of changes:
 .../sis/internal/metadata/      |  60 +-
 .../main/java/org/apache/sis/io/wkt/  |   2 +-
 core/sis-raster/pom.xml                            |  14 +-
 .../java/org/apache/sis/coverage/ |  19 +-
 .../org/apache/sis/coverage/   |  27 +- =>} |  34 +-
 .../org/apache/sis/coverage/grid/ |  71 ++-
 .../apache/sis/coverage/grid/   | 113 +++-
 .../org/apache/sis/coverage/grid/   |  67 ++-
 .../org/apache/sis/coverage/grid/ |  19 +-
 .../apache/sis/coverage/grid/    | 205 +++++--
 .../java/org/apache/sis/image/ |  12 +-
 .../java/org/apache/sis/image/  |  90 +++
 .../java/org/apache/sis/image/   |  78 ++-
 .../internal/coverage/    | 164 ++++++
 .../internal/coverage/   | 497 ++++++++++++++++
 .../sis/internal/coverage}/       |   4 +-
 .../sis/internal/raster/     |  99 ++--
 .../apache/sis/internal/raster/  |  39 +-
 .../org/apache/sis/internal/raster/  |  13 +-
 .../sis/internal/raster/       |   4 +-
 .../sis/internal/raster/    |   3 +-
 .../sis/internal/raster/      |  10 +-
 .../org/apache/sis/coverage/  |  14 +-
 .../apache/sis/coverage/   |  15 +-
 .../sis/coverage/grid/      | 124 +++-
 .../apache/sis/coverage/grid/   |  42 +-
 .../org/apache/sis/image/  | 165 +++---
 .../org/apache/sis/image/   | 134 +++++
 .../coverage/         | 117 ++++
 .../org/apache/sis/test/suite/ |   4 +-
 .../java/org/apache/sis/geometry/    |   2 +-
 .../internal/referencing/ | 215 -------
 .../internal/referencing/  |   6 +-
 .../internal/referencing/ | 453 +++++++++++++++
 .../referencing/j2d/         |   4 +-
 .../provider/         |  64 ++-
 .../referencing/provider/   | 126 ++---
 .../referencing/provider/ |   4 +-
 .../referencing/provider/      |  16 +-
 .../provider/    |   2 +-
 .../sis/internal/referencing/provider/  |   4 +-
 .../sis/internal/referencing/provider/    |   2 +-
 .../referencing/provider/    |  71 +++
 .../main/java/org/apache/sis/referencing/  |   4 +-
 .../java/org/apache/sis/referencing/ |  28 +-
 .../sis/referencing/       |   4 +-
 .../sis/referencing/datum/      | 356 +++++++-----
 .../referencing/operation/   |   2 +-
 .../operation/builder/  | 105 +++-
 .../operation/builder/ | 114 ++--
 .../operation/builder/   |  58 +-
 .../operation/builder/            | 147 +++--
 .../sis/referencing/operation/builder/readme.html  |  48 ++
 .../operation/transform/  |  25 +-
 .../transform/       |   8 +-
 .../operation/transform/   | 109 +++-
 .../transform/     |   6 +-
 .../transform/ |  15 +-
 .../transform/ |  15 +-
 .../operation/transform/ | 275 ++++-----
 .../operation/transform/     |   4 +-
 ...g.opengis.referencing.operation.OperationMethod |   1 +
 .../referencing/      | 111 +---
 .../referencing/      | 209 +++++++
 .../provider/}    |  28 +-
 .../provider/           | 240 ++++++++
 .../referencing/provider/        |   1 +
 .../sis/referencing/   |   4 +-
 .../builder/       |  11 +-
 .../operation/builder/        |   4 +-
 .../transform/        |   8 +-
 .../transform/       | 205 +++++--
 .../operation/transform/ |  27 +-
 .../operation/transform/   | 175 ++++++
 .../sis/test/suite/       |   3 +
 .../java/org/apache/sis/internal/jdk9/    |  16 +
 .../org/apache/sis/internal/util/    |  14 -
 .../org/apache/sis/internal/util/     |   2 +-
 .../java/org/apache/sis/internal/util/ |  28 +-
 .../java/org/apache/sis/math/    |   6 +-
 .../java/org/apache/sis/math/   |  22 +-
 .../src/main/java/org/apache/sis/math/  |  50 +-
 .../main/java/org/apache/sis/util/   |  30 +-
 .../java/org/apache/sis/util/resources/ |   2 +-
 .../apache/sis/util/resources/    |   2 +-
 .../org/apache/sis/math/     |   7 +-
 .../org/apache/sis/math/    |  53 ++
 ide-project/NetBeans/build.xml                     |   7 +
 pom.xml                                            |  12 +-
 storage/sis-earth-observation/pom.xml              |   6 +
 .../apache/sis/internal/earth/netcdf/   | 324 +++++++++++
 .../apache/sis/internal/earth/netcdf/   | 222 ++++++++
 .../sis/internal/earth/netcdf}/   |   7 +-
 .../org.apache.sis.internal.netcdf.Convention      |   2 +
 .../apache/sis/storage/geotiff/   |   2 +
 storage/sis-netcdf/pom.xml                         |  14 +
 .../java/org/apache/sis/internal/netcdf/  |  77 ++-
 .../org/apache/sis/internal/netcdf/ | 385 ++++++++-----
 .../org/apache/sis/internal/netcdf/ |  29 +-
 .../org/apache/sis/internal/netcdf/    |  86 ++-
 .../org/apache/sis/internal/netcdf/  |   2 +-
 .../java/org/apache/sis/internal/netcdf/  | 117 +++-
 .../apache/sis/internal/netcdf/    | 385 +++++++++++++
 .../org/apache/sis/internal/netcdf/ | 172 ++++++
 .../ => internal/netcdf/}     |  41 +-
 .../apache/sis/internal/netcdf/ | 629 +++++++++++++++++++++
 .../org/apache/sis/internal/netcdf/  |   8 +-
 .../sis/internal/netcdf/       |   3 +-
 .../sis/internal/netcdf/    |   3 +-
 .../sis/internal/netcdf/  | 246 ++++++++
 .../org/apache/sis/internal/netcdf/   | 530 ++++++++++++-----
 .../sis/internal/netcdf/impl/   |  11 +-
 .../apache/sis/internal/netcdf/impl/  |  32 +-
 .../org/apache/sis/internal/netcdf/impl/ |   3 +-
 .../sis/internal/netcdf/impl/     |  33 +-
 .../internal/netcdf/ucar/    |  93 +++
 .../sis/internal/netcdf/ucar/   |  23 +-
 .../sis/internal/netcdf/ucar/      |  41 +-
 .../sis/internal/netcdf/ucar/  |  86 ++-
 .../apache/sis/storage/netcdf/    | 470 ---------------
 .../apache/sis/storage/netcdf/  |   3 +-
 .../org/apache/sis/storage/netcdf/ |   3 +-
 .../org/apache/sis/internal/netcdf/   |   4 +-
 .../internal/netcdf/  |  81 +++
 .../org/apache/sis/test/suite/ |   1 +
 .../sis/internal/storage/ | 216 ++++++-
 .../org/apache/sis/internal/storage/ |   7 +-
 .../sis/internal/storage/      |   5 +-
 .../sis/internal/storage/   |   1 +
 .../sis/storage/ |  10 +-
 .../org/apache/sis/storage/  |   3 +-
 .../apache/sis/storage/   |  16 +-
 .../sis/storage/   |   3 +
 .../org/apache/sis/storage/  |  14 +-
 .../org/apache/sis/storage/ |  43 +-
 .../sis/storage/  | 106 ++++
 .../internal/storage/ |  93 +++
 .../apache/sis/test/suite/    |   1 +
 139 files changed, 8216 insertions(+), 2305 deletions(-)
 copy core/sis-raster/src/main/java/org/apache/sis/coverage/grid/{
=>} (53%)
 create mode 100644 core/sis-raster/src/main/java/org/apache/sis/image/
 create mode 100644 core/sis-raster/src/main/java/org/apache/sis/internal/coverage/
 create mode 100644 core/sis-raster/src/main/java/org/apache/sis/internal/coverage/
 copy {application/sis-javafx/src/main/java/org/apache/sis/internal/gui => core/sis-raster/src/main/java/org/apache/sis/internal/coverage}/
 create mode 100644 core/sis-raster/src/test/java/org/apache/sis/image/
 create mode 100644 core/sis-raster/src/test/java/org/apache/sis/internal/coverage/
 create mode 100644 core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/
 create mode 100644 core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/provider/
 create mode 100644 core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/builder/readme.html
 create mode 100644 core/sis-referencing/src/test/java/org/apache/sis/internal/referencing/
 copy core/sis-referencing/src/{main/java/org/apache/sis/internal/referencing/j2d/
=> test/java/org/apache/sis/internal/referencing/provider/}
 create mode 100644 core/sis-referencing/src/test/java/org/apache/sis/internal/referencing/provider/
 create mode 100644 core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/transform/
 create mode 100644 storage/sis-earth-observation/src/main/java/org/apache/sis/internal/earth/netcdf/
 create mode 100644 storage/sis-earth-observation/src/main/java/org/apache/sis/internal/earth/netcdf/
 copy {core/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/cat => storage/sis-earth-observation/src/main/java/org/apache/sis/internal/earth/netcdf}/
 create mode 100644 storage/sis-earth-observation/src/main/resources/META-INF/services/org.apache.sis.internal.netcdf.Convention
 create mode 100644 storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/
 create mode 100644 storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/
 rename storage/sis-netcdf/src/main/java/org/apache/sis/{storage/netcdf/ => internal/netcdf/}
 create mode 100644 storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/
 create mode 100644 storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/
 create mode 100644 storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/ucar/
 delete mode 100644 storage/sis-netcdf/src/main/java/org/apache/sis/storage/netcdf/
 create mode 100644 storage/sis-netcdf/src/test/java/org/apache/sis/internal/netcdf/
 create mode 100644 storage/sis-storage/src/main/java/org/apache/sis/storage/
 create mode 100644 storage/sis-storage/src/test/java/org/apache/sis/internal/storage/

View raw message