ReadWrite/
read_oasis.pro
read the f77 unformatted files used in Oasis (version < 2.5)
read_oasis
Reading
result = read_oasis(filename, varname, jpi, jpj, I2=I2, I4=I4, I8=I8, R4=R4)
Return value
a 2d array
Parameters
filename
in
required
the filename
varname
in
required
the name of the variable to be read
jpi
in
required
jpj
in
required
the size of the 2d array to be read
Keywords
I2
I4
I8
R4
to change the default format (R8) of the data to be read.
Examples
IDL> a=read_oasis('grids_orca_t106','a106.lon',320,160)
IDL> m=read_oasis('masks_orca_t106','or1t.msk',182,149,/i4)
see also
IDL> scanoasis,'grids_orca_t106'
Version history
Version
$Id: read_oasis.pro 371 2008-08-07 09:32:02Z pinsard $
History
Sebastien Masson (smasson@lodyc.jussieu.fr)
July 01, 2002
Produced by IDLdoc 2.0.