[gdal-dev] NetCDF: North is left

Markus Metz markus.metz.giswork at gmail.com
Mon Mar 18 09:49:54 PDT 2019


I have a NetCDF file with

Size is 1800, 3600
Coordinate System is `'
Origin = (89.999996946545821,179.999996947394237)
Pixel Size = (-0.099999996607273,-0.099999998304108)
Metadata:
  Latitude#long_name=Latitude
  Latitude#units=degrees_north
  Latitude#_CoordinateAxisType=Lat
  Longitude#long_name=Longitude
  Longitude#units=degrees_east
  Longitude#_CoordinateAxisType=Lon
...
Geolocation:
  LINE_OFFSET=0
  LINE_STEP=1
  PIXEL_OFFSET=0
  PIXEL_STEP=1
  SRS=GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS
84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
  X_BAND=1

X_DATASET=NETCDF:"LPRM-AMSR2_L3_DS_A_SOILM3_V001_20190301000851.nc4":Longitude
  Y_BAND=1

Y_DATASET=NETCDF:"LPRM-AMSR2_L3_DS_A_SOILM3_V001_20190301000851.nc4":Latitude
Corner Coordinates:
Upper Left  (      90.000,     180.000)
Lower Left  (      90.000,    -180.000)
Upper Right (     -90.000,     180.000)
Lower Right (     -90.000,    -180.000)
Center      (  -0.0000000,  -0.0000000)

-> apparently north is left and east is up
Is there any way to rotate this subdataset with GDAL tools? gdalwarp -s_srs
EPSG:4326 -t_srs EPSG:4326 does not work.

Do I have to add GCPs with gdal_translate?

Thanks for any hint!

The problem file is here:
https://hydro1.gesdisc.eosdis.nasa.gov/data/WAOB/LPRM_AMSR2_DS_A_SOILM3.001/2019/03/LPRM-AMSR2_L3_DS_A_SOILM3_V001_20190301000851.nc4

Markus M
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20190318/d1f03b19/attachment.html>


More information about the gdal-dev mailing list