Go to the source code of this file.
◆ gdmemvarattrdel()
subroutine gdmemvarattrdel |
( |
type(gd_mem_variable), intent(in) |
var, |
|
|
character(len = *), intent(in) |
name, |
|
|
logical, intent(out), optional |
err |
|
) |
| |
Definition at line 2 of file gdmemvarattrdel.f90.
References dc_error::storeerror().
5 use netcdf
, only: nf90_enotatt, nf90_noerr
7 character(len = *),
intent(in):: name
8 logical,
intent(out),
optional:: err
13 if (stat /= nf90_noerr)
goto 999
17 if (.not.
associated(p))
exit 18 if (p%name == name)
then 19 if (
associated(p%cbuf))
deallocate(p%cbuf)
22 call storeerror(nf90_noerr,
"GDMemVarAttrDel", err)
30 call storeerror(stat,
"GDMemVarAttrDel", err, cause_c=name)
subroutine, public storeerror(number, where, err, cause_c, cause_i)