[gdal-dev] gdal_translate - unable to process srs definition....

Hill, David Foster David.Hill at oregonstate.edu
Fri Jul 2 11:06:36 PDT 2021


Hi.

gdal_translate was working great for me for the past two weeks. I would do commands like:

—>fin="/nfs/depot/cce_u1/hill/dfh/op_snowmodel/wy_snowmodel/ctl_files/wo_assim/$STAMP.nc"
—>fout="/nfs/depot/cce_u1/hill/dfh/op_snowmodel/wy_snowmodel/ctl_files/wo_assim/$STAMP.tif"
—>gdal_translate -of GTiff -a_srs EPSG:32612 $fin $fout

from a bash script.

Now, it is not working. I get errors like:

—>Failed to process SRS definition: ESPG:32612

I don’t understand what happened. The version is: GDAL 1.11.4, released 2016/01/25

When I did printenv, I did not find that GDAL_DATA was set. So, I set it with this:

—>export GDAL_DATA=/usr/share/gdal

And, I now see that when I re-do printenv. But, I keep getting the same error? I have spent a lot of time looking for help online and can’t find anything other than making sure gdal_data is correctly set, which it now is.

Regards,


---------------------------------------------------
David F. Hill
Professor
Civil and Construction Engineering
Oregon State University
220 Owen Hall
Corvallis, OR 97331
541.737.4939
david.hill at oregonstate.edu
http://www.engr.oregonstate.edu/~dfh
---------------------------------------------------



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20210702/36f5d480/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1563 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20210702/36f5d480/attachment-0001.bin>


More information about the gdal-dev mailing list