Basic open/close operations More...
Public Member Functions | |
| recursive subroutine | gdncvaropen (var, url, writable, err) |
| subroutine | gdncvaropenbydimord (var, src_var, dimord, err) |
Basic open/close operations
Open a netCDF variable
In the an library, "variables" are opened/closed, not "files". Everything is treated as variables and their attributes.
Definition at line 97 of file gtdata_netcdf_generic.f90.
| recursive subroutine gtdata_netcdf_generic::open::gdncvaropen | ( | type(gd_nc_variable), intent(out) | var, |
| character(len = *), intent(in) | url, | ||
| logical, intent(in), optional | writable, | ||
| logical, intent(out), optional | err | ||
| ) |
Open a variable by URL
Opens the variable identified by url and stores it in var. A variable is either a netCDF variable or a netCDF dimension. If writable is .true., opens in write mode (default: .false.).
Definition at line 115 of file gtdata_netcdf_generic.f90.
| subroutine gtdata_netcdf_generic::open::gdncvaropenbydimord | ( | type(gd_nc_variable), intent(out) | var, |
| type(gd_nc_variable), intent(in) | src_var, | ||
| integer, intent(in) | dimord, | ||
| logical, intent(out), optional | err | ||
| ) |
Open a dimension variable by dimension order
Opens the variable corresponding to the dimord-th dimension of an already opened variable src_var.
Definition at line 136 of file gtdata_netcdf_generic.f90.