Conversion of GeoTIFF image to WPS geogrid format

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.

Benjamin_Obe

New member
Hi all,
I AM new to programming. I have Corine Land use dataset.Can anyone please advise on the easiest method to convert it to geogrid binary format;
I have since tried gdal in python with syntax error.

gdal_translate -of ENVI C:\Users\Eddie\Desktop\TERRAIN AI\test\Europe_wgs841.tif data.bil
File "<stdin>", line 1
gdal_translate -of ENVI C:\Users\Eddie\Desktop\TERRAIN AI\test\Europe_wgs841.tif data.bil
^
SyntaxError: invalid syntax

>>> fn=r'C:\Users\Eddie\Desktop\TERRAIN AI\test\Europe_wgs841.tif'
>>> gdal_translate -of ENVI fn data.bil
File "<stdin>", line 1
gdal_translate -of ENVI fn data.bil
^
SyntaxError: invalid syntax

>>> gdal_translate -of ENVI Europe_wgs841.tif Europe_wgs841.dat
File "<stdin>", line 1
gdal_translate -of ENVI Europe_wgs841.tif Europe_wgs841.dat
^
SyntaxError: invalid syntax



perhaps my script is wrong.

any advice will be appreciated..thanks
 
I've moved this topic to the "New/Modified Static Data" section of the forum since the issue seems to be with the conversion of a new dataset rather than with the geogrid program itself.
 
Back
Top