Delete dimension. More...
Go to the source code of this file.
Functions/Subroutines | |
| subroutine | gtvardeldim (var, dimord, err) |
Delete dimension.
This subroutine is provided as gtdata_generic#Del_dim through gtdata_generic.
Definition in file gtvardeldim.f90.
| subroutine gtvardeldim | ( | type(gt_variable), intent(in) | var, |
| integer, intent(in) | dimord, | ||
| logical, intent(out) | err ) |
Delete dimension from variable
Deletes dimension dimord from variable var. Since this only lowers the rank in the dimension correspondence table and decrements the valid dimension count, I/O is still possible after this operation if the dimension is already degenerate.
If an error occurs, outputs a message and terminates the program. If err is provided, returns .true. and program does not terminate.
| [in] | var | Variable handle |
| [in] | dimord | Dimension order number to delete |
| [out] | err | Error flag |
Definition at line 58 of file gtvardeldim.f90.
References dc_trace::beginsub(), dc_trace::dbgmessage(), dc_trace::endsub(), gtdata_internal_map::map_lookup(), gtdata_internal_map::map_set(), and gtdata_internal_map::map_set_ndims().