Open netCDF dimension variable by dimension order . More...
Go to the source code of this file.
Functions/Subroutines | |
| subroutine | gdncvaropenbydimord (var, src_var, dimord, err) |
Open netCDF dimension variable by dimension order
.
Definition in file gdncvaropenbydimord.f90.
| subroutine 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 the dimension variable at specified position
Opens the variable corresponding to the dimord-th dimension of an already opened variable src_var, and stores it in var.
On error, outputs a message and terminates the program. If err is provided, it returns .true. instead of terminating.
| [out] | var | Opened dimension variable |
| [in] | src_var | Source variable |
| [in] | dimord | Dimension order (1-based) |
| [out] | err | Error flag (optional) |
Definition at line 42 of file gdncvaropenbydimord.f90.
References dc_error::gt_enomoredims, dc_error::storeerror(), gtdata_netcdf_internal::vtable_add(), and gtdata_netcdf_internal::vtable_lookup().