NAME:read_oasis
PURPOSE:read the f77 unformated files used in Oasis (version < 2.5)
CATEGORY:reading
CALLING SEQUENCE: z2d=read_oasis(filename, varname, jpi, jpj)
INPUTS:
filename:the filename
varname: the name of the variable to be read
jpi and jpj the size of the 2d array to be read
KEYWORD PARAMETERS:
/I2, /I4, /I8, /R4: to change the defaut format (R8) of the data to
be read.
OUTPUTS:a 2d array
COMMON BLOCKS:
SIDE EFFECTS:
RESTRICTIONS:
EXAMPLE:
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'