sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject [sis] branch geoapi-4.0 updated (c0bf843 -> da00b49)
Date Mon, 30 Nov 2020 17:17:15 GMT
This is an automated email from the ASF dual-hosted git repository.

desruisseaux pushed a change to branch geoapi-4.0
in repository https://gitbox.apache.org/repos/asf/sis.git.


    from c0bf843  Rename `getPropertyValue(String, Object)` as `getValueOrFallback(…)` for
avoiding dangerous similarity with `setPropertyValue(…)`. Before this change, the two methods
differed only by one letter ("g" versus "s"), which is a risk of introducing bugs by typos.
The new name is also more readable and more consistent with standard Java practice such as
`java.util.Map.getOrDefault(…)`.
     new 84e6e56  Avoid duplication in netCDF variables and attributes when a lower-case name
has been generated in addition to the original name.
     new 98e07c2  More robust handling of map projection parameters in netCDF file: - If parameters
are provided as strings instead than numbers, parse them. - Report unused values for allowing
user to check if an important parameter has been ignored.
     new da00b49  Always consider a variable as an axis if the "_CoordinateAxisType" attribute
is present.

The 3 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:
 .../apache/sis/internal/util/CollectionsExt.java   |  7 ++-
 .../org/apache/sis/internal/netcdf/Convention.java |  7 ++-
 .../apache/sis/internal/netcdf/GridMapping.java    | 61 +++++++++++++++++--
 .../org/apache/sis/internal/netcdf/Resources.java  |  5 ++
 .../sis/internal/netcdf/Resources.properties       |  1 +
 .../sis/internal/netcdf/Resources_fr.properties    |  1 +
 .../sis/internal/netcdf/impl/ChannelDecoder.java   | 71 ++++++++++++++++------
 .../sis/internal/netcdf/impl/VariableInfo.java     | 45 ++++++++++----
 .../org/apache/sis/internal/netcdf/GridTest.java   | 21 ++++++-
 .../apache/sis/internal/netcdf/VariableTest.java   | 11 +---
 .../sis/internal/netcdf/impl/GridInfoTest.java     |  9 ++-
 .../sis/internal/netcdf/impl/VariableInfoTest.java |  3 +-
 12 files changed, 187 insertions(+), 55 deletions(-)


Mime
View raw message