fvcom_tools  1.13.0
All Data Structures Namespaces Files Functions Variables Pages
module_ncio.f90 File Reference

Functions to read and write netcdf files. More...

Go to the source code of this file.

Data Types

type  module_ncio::ncio
 

Modules

module  module_ncio
 Functions to read and write netcdf files.
 

Functions/Subroutines

subroutine module_ncio::add_new_var_2d (this, varname, dname1, dname2, lname, units, dtype)
 Add a new variable to sfc_data.nc with dimensions (yaxis_1, xaxis_1). More...
 
subroutine module_ncio::add_new_var_3d (this, varname, dname1, dname2, dname3, lname, units, dtype)
 Add a new variable to sfc_data.nc with dimensions (Time, yaxis_1, xaxis_1). More...
 
subroutine module_ncio::close_nc (this)
 Close a netcdf file. More...
 
subroutine module_ncio::convert_theta2t_2dgrid (this, nx, ny, ps, t2)
 Convert theta T (Kelvin) to T (deg C). More...
 
subroutine module_ncio::get_att_nc_int (this, attname, ival)
 Get integer attribute in wrf netcdf file. More...
 
subroutine module_ncio::get_att_nc_real (this, attname, rval)
 Get attribute in wrf netcdf file. More...
 
subroutine module_ncio::get_att_nc_string (this, attname, string)
 Get string attribute in wrf netcdf file. More...
 
subroutine module_ncio::get_dim_nc (this, dimname, dimvalue)
 Get dimensions in netcdf file. More...
 
subroutine module_ncio::get_var_nc_char (this, varname, ilength, field)
 Read in character type variable. More...
 
subroutine module_ncio::get_var_nc_char_1d (this, varname, nd1, field)
 Read in 1D character type variable. More...
 
subroutine module_ncio::get_var_nc_char_2d (this, varname, nd1, nd2, field)
 Read in 2D character type variable. More...
 
subroutine module_ncio::get_var_nc_char_3d (this, varname, nd1, nd2, nd3, field)
 Read in 3D character type variable. More...
 
subroutine module_ncio::get_var_nc_double (this, varname, ilength, field)
 Read in double type variable. More...
 
subroutine module_ncio::get_var_nc_double_1d (this, varname, nd1, field)
 Read in 1D double type variable. More...
 
subroutine module_ncio::get_var_nc_double_2d (this, varname, nd1, nd2, field)
 Read in 2D double type variable. More...
 
subroutine module_ncio::get_var_nc_double_3d (this, varname, nd1, nd2, nd3, field)
 Read in 3D double type field. More...
 
subroutine module_ncio::get_var_nc_int (this, varname, ilength, field)
 Read in integer type variable. More...
 
subroutine module_ncio::get_var_nc_int_1d (this, varname, nd1, field)
 Read in 1D integer variable. More...
 
subroutine module_ncio::get_var_nc_int_2d (this, varname, nd1, nd2, field)
 Read in 2D integer type variable. More...
 
subroutine module_ncio::get_var_nc_int_3d (this, varname, nd1, nd2, nd3, field)
 Read in 3D integer type variable. More...
 
subroutine module_ncio::get_var_nc_real (this, varname, ilength, field)
 Read in real type variable. More...
 
subroutine module_ncio::get_var_nc_real_1d (this, varname, nd1, field)
 Read in 1D real type variable. More...
 
subroutine module_ncio::get_var_nc_real_2d (this, varname, nd1, nd2, field)
 Read in 2D real type variable. More...
 
subroutine module_ncio::get_var_nc_real_3d (this, varname, nd1, nd2, nd3, field)
 Read in 3D real type variable. More...
 
subroutine module_ncio::get_var_nc_short (this, varname, ilength, field)
 Read in short type variable. More...
 
subroutine module_ncio::get_var_nc_short_1d (this, varname, nd1, field)
 Read in 1D short type variable. More...
 
subroutine module_ncio::get_var_nc_short_2d (this, varname, nd1, nd2, field)
 Read in 2D short type variable. More...
 
subroutine module_ncio::handle_err (this, status)
 Handle netCDF errors. More...
 
subroutine module_ncio::open_nc (this, filename, action, debug_level)
 Open a netcdf file, set initial debug level. More...
 
subroutine module_ncio::replace_var_nc_char (this, varname, ilength, field)
 Replace character type variable. More...
 
subroutine module_ncio::replace_var_nc_char_1d (this, varname, nd1, field)
 Replace 1D character type variable. More...
 
subroutine module_ncio::replace_var_nc_char_2d (this, varname, nd1, nd2, field)
 Replace 2D character type variable. More...
 
subroutine module_ncio::replace_var_nc_char_3d (this, varname, nd1, nd2, nd3, field)
 Replace 3D character type variable. More...
 
subroutine module_ncio::replace_var_nc_double (this, varname, ilength, field)
 Replace double type variable. More...
 
subroutine module_ncio::replace_var_nc_double_1d (this, varname, nd1, field)
 Replace 1D double type variable. More...
 
subroutine module_ncio::replace_var_nc_double_2d (this, varname, nd1, nd2, field)
 Replace 2D double type variable. More...
 
subroutine module_ncio::replace_var_nc_double_3d (this, varname, nd1, nd2, nd3, field)
 Replace 3D double type variable. More...
 
subroutine module_ncio::replace_var_nc_int (this, varname, ilength, field)
 Replace integer type variable. More...
 
subroutine module_ncio::replace_var_nc_int_1d (this, varname, nd1, field)
 Replace 1D integer type variable. More...
 
subroutine module_ncio::replace_var_nc_int_2d (this, varname, nd1, nd2, field)
 Replace 2D integer type variable. More...
 
subroutine module_ncio::replace_var_nc_int_3d (this, varname, nd1, nd2, nd3, field)
 Replace 3D integer type variable. More...
 
subroutine module_ncio::replace_var_nc_real (this, varname, ilength, field)
 Replace real type variable. More...
 
subroutine module_ncio::replace_var_nc_real_1d (this, varname, nd1, field)
 Replace 1D real type variable. More...
 
subroutine module_ncio::replace_var_nc_real_2d (this, varname, nd1, nd2, field)
 Replace 2D real type variable. More...
 
subroutine module_ncio::replace_var_nc_real_3d (this, varname, nd1, nd2, nd3, field)
 Replace 3D real type variable. More...
 

Detailed Description

Functions to read and write netcdf files.

Author
Ming Hu
Date
2017-11-01

Definition in file module_ncio.f90.