<<prev file | next file >>    view single page | view frames    summary: fields | routine    details: routine

ReadWrite/

read_oasis.pro

read the f77 unformated files used in Oasis (version < 2.5)

topread_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 defaut 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

History

Sebastien Masson (smasson@lodyc.jussieu.fr) July 01, 2002
Produced by IDLdoc 2.0.