- To: "netcdf-java@xxxxxxxxxxxxxxxx" <netcdf-java@xxxxxxxxxxxxxxxx>
- Subject: [netcdf-java] Subsetting with getRangesFromLatLonRect
- From: Antonio Rodriges <antonio.rrz@xxxxxxxxx>
- Date: Mon, 27 Jul 2015 15:27:51 +0300
Hello, Am I doing smth wrong? - When I call GridCoordSystem.getRangesFromLatLonRect I always get two-element List<Range> regardless of whether the given LatLonRect crosses dateline or not. There are some datasets with longitudes 0..360 and others with -180..-180, so we have index breaks at 0 and +/-180 correspondingly. When I call getRangesFromLatLonRect for box containing 0 it returns me the range for values > 0 and if crossing +180 it returns range containing positive lons < 180.
- Follow-Ups:
- Re: [netcdf-java] Subsetting with getRangesFromLatLonRect
- From: Christian Ward-Garrison
- Re: [netcdf-java] Subsetting with getRangesFromLatLonRect