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

ReadWrite/

read_oasis.pro

read the f77 unformatted 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 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

Statistics

McCabe cyclic 9
McCabe essential 1
McCabe modular design 1
Produced by IDLdoc 2.0.