4/7/2024 0 Comments Python gdal open![]() ![]() We shall use a MODIS HDF file, that you can find on the system in /data/geospatial_10/ucfajlg/MOD12/MCD12Q1.A2005001. The first thing to do is to read a file into python. Also, you can check the documentation by typing help (gdal). However, in order to use the GDAL bindings, we need to first import the osgeo.gdal module. You can try and type python commands here. For more information, type 'help(pylab)'. Welcome to pylab, a matplotlib-based Python environment. object? -> Details about 'object', use 'object?' for extra details. ? -> Introduction and overview of IPython's features. IPython 0.11 - An enhanced Interactive Python. Enthought Python Distribution - Python 2.7.2 |EPD 7.1-2 (64-bit)| (default, Jul 3 2011, 15:17:51) Type "copyright", "credits" or "license" for more information. Use `-pylab` instead, or `-pylab=foo` to specify a backend. $ ipython -pylab WARNING: `-pylab` flag has been deprecated. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |