Hi,
I'm trying to pull some data out of a netcdf and convert it to a geotiff. The 
data are the snowdepths from this paper

https://www.nature.com/articles/s41467-019-12566-y

with one of the data files here for testing:
https://drive.google.com/open?id=1qZBYJ4UEbYYHXpSV4gyFBkZYdYKtZGTR


The data ends up weirdly projected when using gdal_transform. I've tried the 
method outlined here
https://gis.stackexchange.com/questions/249841/parameters-of-projection-for-smap-data#comment392952_249841

but that ended up with an incorrect messy output. My attempt was
gdal_translate -a_ullr -17367530.45 7314540.11 17367530.45 -7314540.11 -a_srs 
"+proj=cea +lon_0=0 +lat_ts=30 +ellps=WGS84 +units=m" -a_nodata -9999 
NETCDF:"SD_20160901.nc":snd_upd  out.tif

However I'm not even sure if that ullr is right, or how I would confirm

I was wondering if anyone had a suggestion on how to proceed.

Meta data from the nc is given here:

Spatial sampling:       1 km global cylindrical 1-km Equal-Area Scalable Earth 
version 2 (EASE-2)
Dimensions:             4500 (rows) x 34703 (columns)
Domain:                 Mountain ranges (Global Mountain Biodiversity 
Assessment (GMBA) inventory) from 20°N to 90°N in latitude
No data value:          -9999

Many thanks,

Cheers
Chris

Chris Marsh, PhD
University of Saskatchewan
chrismarsh.ca<http://chrismarsh.ca/>

_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to