NCread_field


Synopsis

reads a field from a netCDF file


module NCread_field<need_objs="Mesh_Unif Mesh_Rect Mesh_Struct"> {

string+Iparam filename;

      string+Iparam variables[];

      int+Iparam timeStep = -1; // -1 means don't look at time steps.

      NCfld_type+Iparam fldType = "Unspecified";

     

      Mesh_Struct+Node_Data+Oparam &outFld;

     

      omethod+notify_val+notify_inst update<status=1> =

      "NCread_field_update";

     };

 

Description

NCread_field reads a field from a standard netCDF file.

Input Ports

filename

string. Name of netCDF file to read

Fldtype

Type of field

variables

toggle. gridnumber or SST

timestep

int.

Output Ports

 

Example

Not available.

File

v/netcdf.v

See also

Related modules