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.
Source Code
subroutine stats_write_jslice_ycoord(ncid)implicit noneinteger,intent(in)::ncidinteger::varid,ierr,j,mreal::ycf(local_ntjslice),ych(local_ntjslice)integer::idx(local_ntjslice)m=0do j=1,njsliceif(jslice(j)>=zstart(2).and.jslice(j)<=zend(2))thenm=m+1ycf(m)=yf(jslice(j));ych(m)=yh(jslice(j));idx(m)=jslice(j)end if end doierr=nf90_inq_varid(ncid,'yt',varid)if(ierr==nf90_noerr)thenierr=nf90_redef(ncid)ierr=nf90_put_att(ncid,varid,'jslice_indices',idx)ierr=nf90_put_att(ncid,varid,'long_name','y-coordinate of j-slices (cell center)')ierr=nf90_enddef(ncid)ierr=nf90_put_var(ncid,varid,ycf)end ifierr=nf90_inq_varid(ncid,'ym',varid)if(ierr==nf90_noerr)thenierr=nf90_redef(ncid)ierr=nf90_put_att(ncid,varid,'jslice_indices',idx)ierr=nf90_put_att(ncid,varid,'long_name','y-coordinate of j-slices (cell edge)')ierr=nf90_enddef(ncid)ierr=nf90_put_var(ncid,varid,ych)end if end subroutine stats_write_jslice_ycoord