matlab.io.hdfeos.gd.open
Namespace: matlab.io.hdfeos.gd
Open grid file
Syntax
gfid = open(filename,access)
Description
gfid = open(filename,access)
opens or creates
an HDF-EOS grid file identified by filename
and
returns a file ID. access
can be one of the following
values:
'read' | Read-only |
'rdwr' | Read-write |
'create' | Creates a file, deleting it if it already exists |
If access
is not provided, it defaults to 'read'
.
This function corresponds to the GDopen
function
in the HDF-EOS library C API.
Examples
import matlab.io.hdfeos.* gfid = gd.open('grid.hdf'); gd.close(gfid);