Look up the time coordinate variable by the CF convention (dim
name == var name); fall back to a variable literally named
“time”. status is nf90_noerr iff found.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Variables
Type
Visibility
Attributes
Name
Initial
character(len=64),
private
::
dname
Source Code
subroutine resolve_time_var(ncid,tdimid,tvarid,status)!! Look up the time coordinate variable by the CF convention (dim!! name == var name); fall back to a variable literally named!! "time". `status` is `nf90_noerr` iff found.integer,intent(in)::ncid,tdimidinteger,intent(out)::tvarid,statuscharacter(len=64)::dnamestatus=nf90_inquire_dimension(ncid,tdimid,name=dname)if(status==nf90_noerr)status=nf90_inq_varid(ncid,trim(dname),tvarid)if(status/=nf90_noerr)status=nf90_inq_varid(ncid,"time",tvarid)end subroutine resolve_time_var