fvcom_tools
1.5.0
|
Functions to read and write netcdf files. More...
Data Types | |
type | ncio |
Public Member Functions | |
subroutine | convert_theta2t_2dgrid (this, nx, ny, ps, t2) |
Convert theta T (Kelvin) to T (deg C). More... | |
subroutine | get_var_nc_char (this, varname, ilength, field) |
Read in character type variable. More... | |
subroutine | get_var_nc_char_1d (this, varname, nd1, field) |
Read in 1D character type variable. More... | |
subroutine | get_var_nc_char_2d (this, varname, nd1, nd2, field) |
Read in 2D character type variable. More... | |
subroutine | get_var_nc_char_3d (this, varname, nd1, nd2, nd3, field) |
Read in 3D character type variable. More... | |
subroutine | get_var_nc_double (this, varname, ilength, field) |
Read in double type variable. More... | |
subroutine | get_var_nc_double_1d (this, varname, nd1, field) |
Read in 1D double type variable. More... | |
subroutine | get_var_nc_double_2d (this, varname, nd1, nd2, field) |
Read in 2D double type variable. More... | |
subroutine | get_var_nc_double_3d (this, varname, nd1, nd2, nd3, field) |
Read in 3D double type field. More... | |
subroutine | get_var_nc_int (this, varname, ilength, field) |
Read in integer type variable. More... | |
subroutine | get_var_nc_int_1d (this, varname, nd1, field) |
Read in 1D integer variable. More... | |
subroutine | get_var_nc_int_2d (this, varname, nd1, nd2, field) |
Read in 2D integer type variable. More... | |
subroutine | get_var_nc_int_3d (this, varname, nd1, nd2, nd3, field) |
Read in 3D integer type variable. More... | |
subroutine | get_var_nc_real (this, varname, ilength, field) |
Read in real type variable. More... | |
subroutine | get_var_nc_real_1d (this, varname, nd1, field) |
Read in 1D real type variable. More... | |
subroutine | get_var_nc_real_2d (this, varname, nd1, nd2, field) |
Read in 2D real type variable. More... | |
subroutine | get_var_nc_real_3d (this, varname, nd1, nd2, nd3, field) |
Read in 3D real type variable. More... | |
subroutine | get_var_nc_short (this, varname, ilength, field) |
Read in short type variable. More... | |
subroutine | get_var_nc_short_1d (this, varname, nd1, field) |
Read in 1D short type variable. More... | |
subroutine | get_var_nc_short_2d (this, varname, nd1, nd2, field) |
Read in 2D short type variable. More... | |
subroutine | handle_err (this, status) |
Handle netCDF errors. More... | |
subroutine | replace_var_nc_char (this, varname, ilength, field) |
Replace character type variable. More... | |
subroutine | replace_var_nc_char_2d (this, varname, nd1, nd2, field) |
Replace 2D character type variable. More... | |
subroutine | replace_var_nc_char_3d (this, varname, nd1, nd2, nd3, field) |
Replace 3D character type variable. More... | |
subroutine | replace_var_nc_double (this, varname, ilength, field) |
Replace double type variable. More... | |
subroutine | replace_var_nc_double_1d (this, varname, nd1, field) |
Replace 1D double type variable. More... | |
subroutine | replace_var_nc_double_2d (this, varname, nd1, nd2, field) |
Replace 2D double type variable. More... | |
subroutine | replace_var_nc_double_3d (this, varname, nd1, nd2, nd3, field) |
Replace 3D double type variable. More... | |
subroutine | replace_var_nc_int (this, varname, ilength, field) |
Replace integer type variable. More... | |
subroutine | replace_var_nc_int_1d (this, varname, nd1, field) |
Replace 1D integer type variable. More... | |
subroutine | replace_var_nc_int_2d (this, varname, nd1, nd2, field) |
Replace 2D integer type variable. More... | |
subroutine | replace_var_nc_int_3d (this, varname, nd1, nd2, nd3, field) |
Replace 3D integer type variable. More... | |
subroutine | replace_var_nc_real (this, varname, ilength, field) |
Replace real type variable. More... | |
subroutine | replace_var_nc_real_1d (this, varname, nd1, field) |
Replace 1D real type variable. More... | |
subroutine | replace_var_nc_real_2d (this, varname, nd1, nd2, field) |
Replace 2D real type variable. More... | |
subroutine | replace_var_nc_real_3d (this, varname, nd1, nd2, nd3, field) |
Replace 3D real type variable. More... | |
Private Member Functions | |
subroutine | add_new_var_3d (this, varname, dname1, dname2, dname3, lname, units) |
Add a new variable to sfc_data.nc with dimensions (Time, yaxis_1, xaxis_1). More... | |
subroutine | close_nc (this) |
Close a netcdf file. More... | |
subroutine | get_att_nc_int (this, attname, ival) |
Get integer attribute in wrf netcdf file. More... | |
subroutine | get_att_nc_real (this, attname, rval) |
Get attribute in wrf netcdf file. More... | |
subroutine | get_att_nc_string (this, attname, string) |
Get string attribute in wrf netcdf file. More... | |
subroutine | get_dim_nc (this, dimname, dimvalue) |
Get dimensions in netcdf file. More... | |
subroutine | open_nc (this, filename, action, debug_level) |
Open a netcdf file, set initial debug level. More... | |
subroutine | replace_var_nc_char_1d (this, varname, nd1, field) |
Replace 1D character type variable. More... | |
Functions to read and write netcdf files.
Definition at line 7 of file module_ncio.f90.
|
private |
Add a new variable to sfc_data.nc with dimensions (Time, yaxis_1, xaxis_1).
this | instance of an ncio class | |
[in] | varname | Name of variable to be created in netcdf file |
[in] | dname1 | 1st dimension name |
[in] | dname2 | 2nd dimension name |
[in] | dname3 | 3rd dimension name |
[in] | lname | long name output for netcdf variable |
[in] | units | units to use in netcdf variable |
Definition at line 2512 of file module_ncio.f90.
Referenced by module_ncio::ncio::add_new_var().
|
private |
Close a netcdf file.
this | instance of an ncio class |
Definition at line 137 of file module_ncio.f90.
Referenced by module_ncio::ncio::close().
subroutine module_ncio::convert_theta2t_2dgrid | ( | class(ncio) | this, |
integer | nx, | ||
integer | ny, | ||
real, dimension(nx,ny), intent(in) | ps, | ||
real, dimension(nx,ny), intent(inout) | t2 | ||
) |
Convert theta T (Kelvin) to T (deg C).
[in] | this | instance of an ncio class |
[in] | nx | number of grid points in x-dir |
[in] | ny | number of grid points in y-dir |
[in] | ps | Pressure (Pa) |
[in,out] | t2 | Pot. Temperature (Kelvin) |
Definition at line 2476 of file module_ncio.f90.
|
private |
Get integer attribute in wrf netcdf file.
this | instance of an ncio class |
attname | name of the attribute to get |
ival | value of attribute. |
Definition at line 183 of file module_ncio.f90.
|
private |
Get attribute in wrf netcdf file.
this | instance of an ncio class |
attname | name of the attribute to get |
rval | return value |
Definition at line 159 of file module_ncio.f90.
|
private |
Get string attribute in wrf netcdf file.
this | instance of an ncio class |
attname | name of the attribute to get |
string | value of attribute. |
Definition at line 207 of file module_ncio.f90.
|
private |
Get dimensions in netcdf file.
[in] | this | instance of an ncio class |
[in] | dimname | name of the dimension |
[out] | dimvalue | length of the dimension |
Definition at line 232 of file module_ncio.f90.
Referenced by module_ncio::ncio::get_dim().
subroutine module_ncio::get_var_nc_char | ( | class(ncio) | this, |
character(len=*), intent(in) | varname, | ||
integer, intent(in) | ilength, | ||
character, dimension(ilength), intent(out) | field | ||
) |
Read in character type variable.
[in] | this | instance of an ncio class |
[in] | varname | name of the variable |
[in] | ilength | size of array |
[out] | field | output variable |
Definition at line 2349 of file module_ncio.f90.
subroutine module_ncio::get_var_nc_char_1d | ( | class(ncio) | this, |
character(len=*), intent(in) | varname, | ||
integer, intent(in) | nd1, | ||
character, dimension(nd1), intent(out) | field | ||
) |
Read in 1D character type variable.
[in] | this | instance of an ncio class |
[in] | varname | name of the variable |
[in] | nd1 | length of first dimension |
[out] | field | output variable |
Definition at line 2205 of file module_ncio.f90.
subroutine module_ncio::get_var_nc_char_2d | ( | class(ncio) | this, |
character(len=*), intent(in) | varname, | ||
integer, intent(in) | nd1, | ||
integer, intent(in) | nd2, | ||
character, dimension(nd1,nd2), intent(out) | field | ||
) |
Read in 2D character type variable.
[in] | this | instance of an ncio class |
[in] | varname | name of the variable |
[in] | nd1 | length of first dimension |
[in] | nd2 | length of second dimension |
[out] | field | output variable |
Definition at line 2243 of file module_ncio.f90.
subroutine module_ncio::get_var_nc_char_3d | ( | class(ncio) | this, |
character(len=*), intent(in) | varname, | ||
integer, intent(in) | nd1, | ||
integer, intent(in) | nd2, | ||
integer, intent(in) | nd3, | ||
character, dimension(nd1,nd2,nd3), intent(out) | field | ||
) |
Read in 3D character type variable.
[in] | this | instance of an ncio class |
[in] | varname | name of the variable |
[in] | nd1 | length of first dimension |
[in] | nd2 | length of second dimension |
[in] | nd3 | length of third dimension |
[out] | field | output variable |
Definition at line 2295 of file module_ncio.f90.
subroutine module_ncio::get_var_nc_double | ( | class(ncio) | this, |
character(len=*), intent(in) | varname, | ||
integer, intent(in) | ilength, | ||
real(8), dimension(ilength), intent(out) | field | ||
) |
Read in double type variable.
[in] | this | instance of an ncio class |
[in] | varname | name of the variable |
[in] | ilength | size of array |
[out] | field | output variable |
Definition at line 1386 of file module_ncio.f90.
subroutine module_ncio::get_var_nc_double_1d | ( | class(ncio) | this, |
character(len=*), intent(in) | varname, | ||
integer, intent(in) | nd1, | ||
real(8), dimension(nd1), intent(out) | field | ||
) |
Read in 1D double type variable.
[in] | this | instance of an ncio class |
[in] | varname | name of the variable |
[in] | nd1 | lenth of first dimension |
[out] | field | output variable |
Definition at line 1240 of file module_ncio.f90.
subroutine module_ncio::get_var_nc_double_2d | ( | class(ncio) | this, |
character(len=*), intent(in) | varname, | ||
integer, intent(in) | nd1, | ||
integer, intent(in) | nd2, | ||
real(8), dimension(nd1,nd2), intent(out) | field | ||
) |
Read in 2D double type variable.
[in] | this | instance of an ncio class |
[in] | varname | name of the variable |
[in] | nd1 | length of first dimension |
[in] | nd2 | length of second dimension |
[out] | field | output variable |
Definition at line 1278 of file module_ncio.f90.
subroutine module_ncio::get_var_nc_double_3d | ( | class(ncio) | this, |
character(len=*), intent(in) | varname, | ||
integer, intent(in) | nd1, | ||
integer, intent(in) | nd2, | ||
integer, intent(in) | nd3, | ||
real(8), dimension(nd1,nd2,nd3), intent(out) | field | ||
) |
Read in 3D double type field.
[in] | this | instance of an ncio class |
[in] | varname | name of the variable |
[in] | nd1 | length of first dimension |
[in] | nd2 | length of second dimension |
[in] | nd3 | length of third dimension |
[out] | field | output variable |
Definition at line 1330 of file module_ncio.f90.
subroutine module_ncio::get_var_nc_int | ( | class(ncio) | this, |
character(len=*), intent(in) | varname, | ||
integer, intent(in) | ilength, | ||
integer, dimension(ilength), intent(out) | field | ||
) |
Read in integer type variable.
[in] | this | instance of an ncio class |
[in] | varname | name of the variable |
[in] | ilength | size of array |
[in] | field | output variable |
Definition at line 1899 of file module_ncio.f90.
subroutine module_ncio::get_var_nc_int_1d | ( | class(ncio) | this, |
character(len=*), intent(in) | varname, | ||
integer, intent(in) | nd1, | ||
integer, dimension(nd1), intent(out) | field | ||
) |
Read in 1D integer variable.
[in] | this | instance of an ncio class |
[in] | varname | name of the variable |
[in] | nd1 | length of first dimension |
[out] | field | output variable |
Definition at line 1750 of file module_ncio.f90.
subroutine module_ncio::get_var_nc_int_2d | ( | class(ncio) | this, |
character(len=*), intent(in) | varname, | ||
integer, intent(in) | nd1, | ||
integer, intent(in) | nd2, | ||
integer, dimension(nd1,nd2), intent(out) | field | ||
) |
Read in 2D integer type variable.
[in] | this | instance of an ncio class |
[in] | varname | name of the variable |
[in] | nd1 | length of first dimension |
[in] | nd2 | length of second dimension |
[out] | field | output variable |
Definition at line 1788 of file module_ncio.f90.
subroutine module_ncio::get_var_nc_int_3d | ( | class(ncio) | this, |
character(len=*), intent(in) | varname, | ||
integer, intent(in) | nd1, | ||
integer, intent(in) | nd2, | ||
integer, intent(in) | nd3, | ||
integer, dimension(nd1,nd2,nd3), intent(out) | field | ||
) |
Read in 3D integer type variable.
[in] | this | instance of an ncio class |
[in] | varname | name of the variable |
[in] | nd1 | length of first dimension |
[in] | nd2 | length of second dimension |
[in] | nd3 | length of third dimension |
[in] | field | output variable |
Definition at line 1843 of file module_ncio.f90.
subroutine module_ncio::get_var_nc_real | ( | class(ncio) | this, |
character(len=*), intent(in) | varname, | ||
integer, intent(in) | ilength, | ||
real(4), dimension(ilength), intent(out) | field | ||
) |
Read in real type variable.
[in] | this | instance of an ncio class |
[in] | varname | name of the variable |
[in] | ilength | size of array |
[out] | field | output variable |
Definition at line 1641 of file module_ncio.f90.
subroutine module_ncio::get_var_nc_real_1d | ( | class(ncio) | this, |
character(len=*), intent(in) | varname, | ||
integer, intent(in) | nd1, | ||
real(4), dimension(nd1), intent(out) | field | ||
) |
Read in 1D real type variable.
[in] | this | instance of an ncio class |
[in] | varname | name of the variable |
[in] | nd1 | length of first dimension |
[out] | field | output variable |
Definition at line 1492 of file module_ncio.f90.
subroutine module_ncio::get_var_nc_real_2d | ( | class(ncio) | this, |
character(len=*), intent(in) | varname, | ||
integer, intent(in) | nd1, | ||
integer, intent(in) | nd2, | ||
real(4), dimension(nd1,nd2), intent(out) | field | ||
) |
Read in 2D real type variable.
[in] | this | instance of an ncio class |
[in] | varname | name of the variable |
[in] | nd1 | length of first dimension |
[in] | nd2 | length of second dimension |
[out] | field | output variable |
Definition at line 1530 of file module_ncio.f90.
subroutine module_ncio::get_var_nc_real_3d | ( | class(ncio) | this, |
character(len=*), intent(in) | varname, | ||
integer, intent(in) | nd1, | ||
integer, intent(in) | nd2, | ||
integer, intent(in) | nd3, | ||
real(4), dimension(nd1,nd2,nd3), intent(out) | field | ||
) |
Read in 3D real type variable.
[in] | this | instance of an ncio class |
[in] | varname | name of the variable |
[in] | nd1 | length of first dimension |
[in] | nd2 | length of second dimension |
[in] | nd3 | length of third dimension |
[out] | field | output variable |
Definition at line 1585 of file module_ncio.f90.
subroutine module_ncio::get_var_nc_short | ( | class(ncio) | this, |
character(len=*), intent(in) | varname, | ||
integer, intent(in) | ilength, | ||
integer(2), dimension(ilength), intent(out) | field | ||
) |
Read in short type variable.
[in] | this | instance of an ncio class |
[in] | varname | name of the variable |
[in] | ilength | size of array |
[out] | field | output variable |
Definition at line 2099 of file module_ncio.f90.
subroutine module_ncio::get_var_nc_short_1d | ( | class(ncio) | this, |
character(len=*), intent(in) | varname, | ||
integer, intent(in) | nd1, | ||
integer(2), dimension(nd1), intent(out) | field | ||
) |
Read in 1D short type variable.
[in] | this | instance of an ncio class |
[in] | varname | name of the variable |
[in] | nd1 | length of first dimension |
[out] | field | output variable |
Definition at line 2008 of file module_ncio.f90.
subroutine module_ncio::get_var_nc_short_2d | ( | class(ncio) | this, |
character(len=*), intent(in) | varname, | ||
integer, intent(in) | nd1, | ||
integer, intent(in) | nd2, | ||
integer(2), dimension(nd1,nd2), intent(out) | field | ||
) |
Read in 2D short type variable.
[in] | this | instance of an ncio class |
[in] | varname | name of the variable |
[in] | nd1 | length of first dimension |
[in] | nd2 | length of second dimension |
[out] | field | output variable |
Definition at line 2046 of file module_ncio.f90.
subroutine module_ncio::handle_err | ( | class(ncio) | this, |
integer, intent(in) | status | ||
) |
Handle netCDF errors.
[in] | this | instance of an ncio class |
[in] | status | return code from neCDF |
Definition at line 2456 of file module_ncio.f90.
|
private |
Open a netcdf file, set initial debug level.
this | instance of an ncio class |
filename | the file to open |
action | "r" for read, "w" for write |
debug_level | set to non-zero for some verbose output |
Definition at line 100 of file module_ncio.f90.
Referenced by module_ncio::ncio::open().
subroutine module_ncio::replace_var_nc_char | ( | class(ncio) | this, |
character(len=*), intent(in) | varname, | ||
integer, intent(in) | ilength, | ||
character, dimension(ilength), intent(in) | field | ||
) |
Replace character type variable.
[in] | this | instance of an ncio class |
[in] | varname | name of the variable |
[in] | ilength | length of array |
[in] | field | replacement field |
Definition at line 394 of file module_ncio.f90.
|
private |
Replace 1D character type variable.
[in] | this | instance of an ncio class |
[in] | varname | name of the variable |
[in] | nd1 | length of first dimension |
[in] | field | replacement field |
Definition at line 260 of file module_ncio.f90.
subroutine module_ncio::replace_var_nc_char_2d | ( | class(ncio) | this, |
character(len=*), intent(in) | varname, | ||
integer, intent(in) | nd1, | ||
integer, intent(in) | nd2, | ||
character, dimension(nd1,nd2), intent(in) | field | ||
) |
Replace 2D character type variable.
[in] | this | instance of an ncio class |
[in] | varname | name of the variable |
[in] | nd1 | length of first dimension |
[in] | nd2 | length of second dimension |
[in] | field | replacement field |
Definition at line 296 of file module_ncio.f90.
subroutine module_ncio::replace_var_nc_char_3d | ( | class(ncio) | this, |
character(len=*), intent(in) | varname, | ||
integer, intent(in) | nd1, | ||
integer, intent(in) | nd2, | ||
integer, intent(in) | nd3, | ||
character, dimension(nd1,nd2,nd3), intent(in) | field | ||
) |
Replace 3D character type variable.
[in] | this | instance of an ncio class |
[in] | varname | name of the variable |
[in] | nd1 | length of first dimension |
[in] | nd2 | length of second dimension |
[in] | nd3 | length of third dimension |
[in] | field | replacement field |
Definition at line 344 of file module_ncio.f90.
subroutine module_ncio::replace_var_nc_double | ( | class(ncio) | this, |
character(len=*), intent(in) | varname, | ||
integer, intent(in) | ilength, | ||
real(8), dimension(ilength), intent(in) | field | ||
) |
Replace double type variable.
[in] | this | instance of an ncio class |
[in] | varname | name of the variable |
[in] | ilength | size of array |
[in] | field | replacement field |
Definition at line 890 of file module_ncio.f90.
subroutine module_ncio::replace_var_nc_double_1d | ( | class(ncio) | this, |
character(len=*), intent(in) | varname, | ||
integer, intent(in) | nd1, | ||
real(8), dimension(nd1), intent(in) | field | ||
) |
Replace 1D double type variable.
[in] | this | instance of an ncio class |
[in] | varname | name of the variable |
[in] | nd1 | length of first dimension |
[in] | field | replacement field |
Definition at line 745 of file module_ncio.f90.
subroutine module_ncio::replace_var_nc_double_2d | ( | class(ncio) | this, |
character(len=*), intent(in) | varname, | ||
integer, intent(in) | nd1, | ||
integer, intent(in) | nd2, | ||
real(8), dimension(nd1,nd2), intent(in) | field | ||
) |
Replace 2D double type variable.
[in] | this | instance of an ncio class |
[in] | varname | name of the variable |
[in] | nd1 | length of first dimension |
[in] | nd2 | length of second dimension |
[in] | field | replacement field |
Definition at line 783 of file module_ncio.f90.
subroutine module_ncio::replace_var_nc_double_3d | ( | class(ncio) | this, |
character(len=*), intent(in) | varname, | ||
integer, intent(in) | nd1, | ||
integer, intent(in) | nd2, | ||
integer, intent(in) | nd3, | ||
real(8), dimension(nd1,nd2,nd3), intent(in) | field | ||
) |
Replace 3D double type variable.
[in] | this | instance of an ncio class |
[in] | varname | name of the variable |
[in] | nd1 | length of first dimension |
[in] | nd2 | length of second dimension |
[in] | nd3 | length of third dimension |
[in] | field | replacement field |
Definition at line 834 of file module_ncio.f90.
subroutine module_ncio::replace_var_nc_int | ( | class(ncio) | this, |
character(len=*), intent(in) | varname, | ||
integer, intent(in) | ilength, | ||
integer, dimension(ilength), intent(in) | field | ||
) |
Replace integer type variable.
[in] | this | instance of an ncio class |
[in] | varname | name of the variable |
[in] | ilength | size of array |
[in] | field | replacement field |
Definition at line 1134 of file module_ncio.f90.
subroutine module_ncio::replace_var_nc_int_1d | ( | class(ncio) | this, |
character(len=*), intent(in) | varname, | ||
integer, intent(in) | nd1, | ||
integer, dimension(nd1), intent(in) | field | ||
) |
Replace 1D integer type variable.
[in] | this | instance of an ncio class |
[in] | varname | name of the variable |
[in] | nd1 | lenth of first dimension |
[in] | field | replacement field |
Definition at line 996 of file module_ncio.f90.
subroutine module_ncio::replace_var_nc_int_2d | ( | class(ncio) | this, |
character(len=*), intent(in) | varname, | ||
integer, intent(in) | nd1, | ||
integer, intent(in) | nd2, | ||
integer, dimension(nd1,nd2), intent(in) | field | ||
) |
Replace 2D integer type variable.
[in] | this | instance of an ncio class |
[in] | varname | name of the variable |
[in] | nd1 | length of first dimension |
[in] | nd2 | length of second dimension |
[in] | field | replacement field |
Definition at line 1031 of file module_ncio.f90.
subroutine module_ncio::replace_var_nc_int_3d | ( | class(ncio) | this, |
character(len=*), intent(in) | varname, | ||
integer, intent(in) | nd1, | ||
integer, intent(in) | nd2, | ||
integer, intent(in) | nd3, | ||
integer, dimension(nd1,nd2,nd3), intent(in) | field | ||
) |
Replace 3D integer type variable.
[in] | this | instance of an ncio class |
[in] | varname | name of the variable |
[in] | nd1 | length of first dimension |
[in] | nd2 | length of second dimension |
[in] | nd3 | length of third dimension |
[in] | field | replacement field |
Definition at line 1082 of file module_ncio.f90.
subroutine module_ncio::replace_var_nc_real | ( | class(ncio) | this, |
character(len=*), intent(in) | varname, | ||
integer, intent(in) | ilength, | ||
real(4), dimension(ilength), intent(in) | field | ||
) |
Replace real type variable.
[in] | this | instance of an ncio class |
[in] | varname | name of the variable |
[in] | ilength | length of array |
[in] | field | replacement field |
Definition at line 639 of file module_ncio.f90.
subroutine module_ncio::replace_var_nc_real_1d | ( | class(ncio) | this, |
character(len=*), intent(in) | varname, | ||
integer, intent(in) | nd1, | ||
real(4), dimension(nd1), intent(in) | field | ||
) |
Replace 1D real type variable.
[in] | this | instance of an ncio class |
[in] | varname | name of the variable |
[in] | nd1 | length of first dimension |
[in] | field | replacement field |
Definition at line 501 of file module_ncio.f90.
subroutine module_ncio::replace_var_nc_real_2d | ( | class(ncio) | this, |
character(len=*), intent(in) | varname, | ||
integer, intent(in) | nd1, | ||
integer, intent(in) | nd2, | ||
real(4), dimension(nd1,nd2), intent(in) | field | ||
) |
Replace 2D real type variable.
[in] | this | instance of an ncio class |
[in] | varname | name of the variable |
[in] | nd1 | length of first dimension |
[in] | nd2 | length of second dimension |
[in] | field | replacement field |
Definition at line 536 of file module_ncio.f90.
subroutine module_ncio::replace_var_nc_real_3d | ( | class(ncio) | this, |
character(len=*), intent(in) | varname, | ||
integer, intent(in) | nd1, | ||
integer, intent(in) | nd2, | ||
integer, intent(in) | nd3, | ||
real(4), dimension(nd1,nd2,nd3), intent(in) | field | ||
) |
Replace 3D real type variable.
[in] | this | instance of an ncio class |
[in] | varname | name of the variable |
[in] | nd1 | length of first dimension |
[in] | nd2 | length of second dimension |
[in] | nd3 | length of third dimension |
[in] | field | replacement field |
Definition at line 584 of file module_ncio.f90.