[gdal-dev] SNODAS format

John Burkhart jfburkhart.reg at gmail.com
Fri Jan 4 07:33:58 PST 2019


Hello,

Trying to open SNODAS datasets from:

server = 'sidads.colorado.edu'
ftp_directory = 'pub/DATASETS/NOAA/G02158/masked/{}/{}'.format(yyyy, m_month)


I have untarred/unzipped the files and have the following files:
$ls
us_ssmv11034tS__T0001TTNATS2019010105HP001.Hdr
us_ssmv11034tS__T0001TTNATS2019010305HP001.Hdr
us_ssmv11034tS__T0001TTNATS2019010105HP001.dat
us_ssmv11034tS__T0001TTNATS2019010305HP001.dat

When I run gdal_translate, I get the following error:

$gdal_translate -of GTiff -a_srs '+proj=longlat +ellps=WGS84 +datum=WGS84
+no_defs' -a_nodata -9999 -a_ullr  -124.73333333 52.87500000 -66.94166667
24.95000000 us_ssmv11034tS__T0001TTNATS2019010105HP001.dat temp.tiff
ERROR 4: `us_ssmv11034tS__T0001TTNATS2019010105HP001.dat' not recognized as
a supported file format.

and if I try with the .Hdr file:
$gdal_translate -of GTiff -a_srs '+proj=longlat +ellps=WGS84 +datum=WGS84
+no_defs' -a_nodata -9999 -a_ullr  -124.73333333 52.87500000 -66.94166667
24.95000000 us_ssmv11034tS__T0001TTNATS2019010105HP001.Hdr temp.tiff
ERROR 1: Maximum number of characters allowed reached.

Do I need to specify the SNODAS driver somehow? I am using gdal version
2.2.4
$gdal_translate --version
GDAL 2.2.4, released 2018/03/19

Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20190104/c74ad05b/attachment.html>


More information about the gdal-dev mailing list