Opened 4 years ago
Closed 2 years ago
#2375 closed enhancement (fixed)
netcdf/grib - support flipped data on Lat (Y) axis in rasdaman
Reported by: | Bang Pham Huu | Owned by: | Dimitar Misev |
---|---|---|---|
Priority: | major | Milestone: | 10.0 |
Component: | server | Version: | 9.8 |
Keywords: | Cc: | Dimitar Misev, Vlad Merticariu, Peter Baumann | |
Complexity: | Medium |
Description
From https://gdal.org/drivers/raster/netcdf.html
NetCDF files are usually assumed “bottom-up”, contrary to GDAL’s model which is “north up”
- By convention,
netCDF
is flipped on Lat (Y ) axis with South on top and North at the bottom. E.g, geo coordinates in Lat axis:
-90 -80 ... 80 90
- While with
GDAL 2D GeoTiff
, the data is North on top and South at the bottom. E.g, geo coordinates in Lat axis:
90 80 ... -80 -90
The problem is, if one imports a flipped GRIB/netCDF to rasdaman and later extracts it as 2D image PNG/TIFF, the output will be up-side down.
Note:
See TracTickets
for help on using tickets.