-
Notifications
You must be signed in to change notification settings - Fork 105
Open
Description
these can be leveraged by passing through the warp api (before anything else is done) e.g. under "Geolocation:" (limited by GDAL currently needing to wrap into -180,180 but still common and useful)
gdalinfo vrt:///vsicurl/https://gws-access.jasmin.ac.uk/public/polarres/MetUM_PolarRES/Antarctic/daily/hfls_ANT-11_ERA5_evaluation_r1i1p1f1_BAS_MetUM_v1-r1_day_20000101_20001231.nc?bands=1
Warning 1: Unhandled X/Y axis unit degrees. SRS will ignore axis unit and be likely wrong.
Driver: VRT/Virtual Raster
Files: /vsicurl/https://gws-access.jasmin.ac.uk/public/polarres/MetUM_PolarRES/Antarctic/daily/hfls_ANT-11_ERA5_evaluation_r1i1p1f1_BAS_MetUM_v1-r1_day_20000101_20001231.nc
Size is 660, 531
Metadata:
...
Geolocation:
GEOREFERENCING_CONVENTION=PIXEL_CENTER
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"]],AXIS["Latitude",NORTH],AXIS["Longitude",EAST],AUTHORITY["EPSG","4326"]]
X_BAND=1
X_DATASET=NETCDF:"/vsicurl/https://gws-access.jasmin.ac.uk/public/polarres/MetUM_PolarRES/Antarctic/daily/hfls_ANT-11_ERA5_evaluation_r1i1p1f1_BAS_MetUM_v1-r1_day_20000101_20001231.nc":longitude
Y_BAND=1
Y_DATASET=NETCDF:"/vsicurl/https://gws-access.jasmin.ac.uk/public/polarres/MetUM_PolarRES/Antarctic/daily/hfls_ANT-11_ERA5_evaluation_r1i1p1f1_BAS_MetUM_v1-r1_day_20000101_20001231.nc":latitude
Corner Coordinates:
Upper Left ( 0.0, 0.0)
Lower Left ( 0.0, 531.0)
Upper Right ( 660.0, 0.0)
Lower Right ( 660.0, 531.0)
Center ( 330.0, 265.5)
Band 1 Block=660x531 Type=Float64, ColorInterp=Undefined
NoData Value=-1073741824
...
It would be great if the presence of Geolocation arrays, GCPs, or RPCs in the dataset were indicated in the print summary, then we can stream through the warp api (as simple as project(rast, <crs>) as a subset of the broader warp heuristics and partial-definition ability in the API. When terra warns about no extent found would be a good time to check this and hint towards warp-resolving.
related to
Metadata
Metadata
Assignees
Labels
No labels