<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div dir="ltr">
<div>Hi,</div>
<div>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</div>
<div><br>
</div>
<div><a href="https://www.nature.com/articles/s41467-019-12566-y">https://www.nature.com/articles/s41467-019-12566-y</a></div>
<div><br>
</div>
<div>with one of the data files here for testing:</div>
<div><a href="https://drive.google.com/open?id=1qZBYJ4UEbYYHXpSV4gyFBkZYdYKtZGTR">https://drive.google.com/open?id=1qZBYJ4UEbYYHXpSV4gyFBkZYdYKtZGTR</a></div>
<div><br>
</div>
<div><br>
</div>
<div>The data ends up weirdly projected when using gdal_transform. I've tried the method outlined here</div>
<div><a href="https://gis.stackexchange.com/questions/249841/parameters-of-projection-for-smap-data#comment392952_249841">https://gis.stackexchange.com/questions/249841/parameters-of-projection-for-smap-data#comment392952_249841</a></div>
<div><br>
</div>
<div>but that ended up with an incorrect messy output. My attempt was</div>
<div>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</div>
<div><br>
</div>
<div>However I'm not even sure if that ullr is right, or how I would confirm<br>
</div>
<div><br>
</div>
<div>I was wondering if anyone had a suggestion on how to proceed.<br>
</div>
<div><br>
</div>
<div>Meta data from the nc is given here:<br>
</div>
<div>
<pre class="gmail-aLF-aPX-K0-aPE">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</pre>
</div>
<div>Many thanks,</div>
<div><br>
</div>
<div>Cheers</div>
<div>Chris</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr"><span style="font-size:12.8px;color:rgb(102,102,102)">Chris Marsh, PhD</span></div>
<div dir="ltr"><span style="font-size:12.8px;color:rgb(102,102,102)"></span><span><span style="font-size:12.8px;color:rgb(102,102,102)"></span></span><span><span style="font-size:12.8px;color:rgb(102,102,102)">University of Saskatchewan</span></span><br style="font-size:12.8px;color:rgb(102,102,102)">
<span style="font-size:12.8px;color:rgb(102,102,102)"></span><a href="http://chrismarsh.ca/" style="font-size:12.8px;color:rgb(102,102,102)" target="_blank">chrismarsh.ca</a></div>
<span style="color:rgb(102,102,102)"></span><br style="color:rgb(102,102,102)">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>