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

ReadWrite/

readoldopadistcoast.pro

read the old binary direct access file that contains the distance to the coast in OPA. based on the OPA subroutines dtacof and parctl

Routine summary

result = read3fromopa(unit, params, num)

result = readoldopadistcoast(filename, jpiglo, jpjglo, jpk, IBLOC=IBLOC, JPBYT=JPBYT, NUMREC=NUMREC)

topread3fromopa for OPA before NetCDF

result = read3fromopa(unit, params, num)

Return value

a structure that contains two elements: tdistcoast (the distance for the t-points) and fdiscoast (the distance for the f-points).

Parameters

unit       

params       

num       

Version history

History

Sebastien Masson (smasson@lodyc.jussieu.fr) June, 2002

topreadoldopadistcoast

result = readoldopadistcoast(filename, jpiglo, jpjglo, jpk, IBLOC=IBLOC, JPBYT=JPBYT, NUMREC=NUMREC)

Parameters

filename        in required

filename (with the whole path if necessary)

jpiglo        in required

jpjglo        in required

jpk        in required

dimensions of the opa grid

Keywords

IBLOC       

ibloc size, default: ibloc = 4096L

JPBYT       

jpbyt size, default: jpbyt = 8L

NUMREC       

number of records in the file. default: numrec = 19L*jpk

Version history

History

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