|
type(ncatt) function, pointer | nc_make_att_chr_scl (NAME, VALUES) |
|
type(ncatt) function, pointer | nc_make_att_chr_vec (NAME, VALUES) |
|
type(ncatt) function, pointer | nc_make_att_int (NAME, values) |
|
type(ncatt) function, pointer | nc_make_att_int_vec (NAME, values) |
|
type(ncatt) function, pointer | nc_make_att_flt (NAME, values) |
|
type(ncatt) function, pointer | nc_make_att_flt_vec (NAME, values) |
|
type(ncatt) function, pointer | nc_make_att_dbl (NAME, values) |
|
type(ncatt) function, pointer | nc_make_att_dbl_vec (NAME, values) |
|
Definition at line 69 of file mod_nctools.f90.
◆ nc_make_att_chr_scl()
type(ncatt) function, pointer mod_nctools::nc_make_att::nc_make_att_chr_scl |
( |
character(len=*), intent(in) |
NAME, |
|
|
character(len=*), intent(in) |
VALUES |
|
) |
| |
Definition at line 627 of file mod_nctools.f90.
628 TYPE(NCATT),
POINTER :: ATT
629 character(len=*),
intent(in) :: name
630 character(len=*),
intent(in) :: VALUES
635 att%ATTname = trim(name)
636 att%xtype = nf90_char
637 att%LEN = len_trim(values)
◆ nc_make_att_chr_vec()
type(ncatt) function, pointer mod_nctools::nc_make_att::nc_make_att_chr_vec |
( |
character(len=*), intent(in) |
NAME, |
|
|
character(len=*), dimension(:), intent(in), allocatable |
VALUES |
|
) |
| |
Definition at line 645 of file mod_nctools.f90.
646 TYPE(NCATT),
POINTER :: ATT
647 character(len=*),
intent(in) :: name
648 character(len=*),
ALLOCATABLE,
intent(in) :: VALUES(:)
653 att%ATTname = trim(name)
654 att%xtype = nf90_char
656 ALLOCATE(att%CHR(
size(values)))
◆ nc_make_att_dbl()
type(ncatt) function, pointer mod_nctools::nc_make_att::nc_make_att_dbl |
( |
character(len=*), intent(in) |
NAME, |
|
|
real(dp), intent(in) |
values |
|
) |
| |
Definition at line 807 of file mod_nctools.f90.
808 TYPE(NCATT),
POINTER :: ATT
809 character(len=*),
intent(in) :: name
810 REAL(DP),
intent(in) :: values
815 att%ATTname = trim(name)
816 att%xtype = nf90_double
818 allocate(att%dbl(att%len))
◆ nc_make_att_dbl_vec()
type(ncatt) function, pointer mod_nctools::nc_make_att::nc_make_att_dbl_vec |
( |
character(len=*), intent(in) |
NAME, |
|
|
real(dp), dimension(:), intent(in), allocatable |
values |
|
) |
| |
Definition at line 825 of file mod_nctools.f90.
826 TYPE(NCATT),
POINTER :: ATT
827 character(len=*),
intent(in) :: name
828 REAL(DP),
allocatable,
intent(in) :: values(:)
830 if(.not.
allocated(values)) &
831 &
Call fatal_error(
"Can not make attribute: "//trim(name),&
832 &
"argument 'values' passed must be allocated and contain data")
837 att%ATTname = trim(name)
838 att%xtype = nf90_double
839 att%LEN =
size(values)
840 allocate(att%dbl(att%len))
◆ nc_make_att_flt()
type(ncatt) function, pointer mod_nctools::nc_make_att::nc_make_att_flt |
( |
character(len=*), intent(in) |
NAME, |
|
|
real(spa), intent(in) |
values |
|
) |
| |
Definition at line 767 of file mod_nctools.f90.
768 TYPE(NCATT),
POINTER :: ATT
769 character(len=*),
intent(in) :: name
770 REAL(SPA),
intent(in) :: values
775 att%ATTname = trim(name)
776 att%xtype = nf90_float
778 allocate(att%flt(att%len))
◆ nc_make_att_flt_vec()
type(ncatt) function, pointer mod_nctools::nc_make_att::nc_make_att_flt_vec |
( |
character(len=*), intent(in) |
NAME, |
|
|
real(spa), dimension(:), intent(in), allocatable |
values |
|
) |
| |
Definition at line 785 of file mod_nctools.f90.
786 TYPE(NCATT),
POINTER :: ATT
787 character(len=*),
intent(in) :: name
788 REAL(SPA),
allocatable,
intent(in) :: values(:)
790 if(.not.
allocated(values)) &
791 &
Call fatal_error(
"Can not make attribute: "//trim(name),&
792 &
"argument 'values' passed must be allocated and contain data")
797 att%ATTname = trim(name)
798 att%xtype = nf90_float
799 att%LEN =
size(values)
800 allocate(att%flt(att%len))
◆ nc_make_att_int()
type(ncatt) function, pointer mod_nctools::nc_make_att::nc_make_att_int |
( |
character(len=*), intent(in) |
NAME, |
|
|
integer, intent(in) |
values |
|
) |
| |
Definition at line 749 of file mod_nctools.f90.
750 TYPE(NCATT),
POINTER :: ATT
751 character(len=*),
intent(in) :: name
752 INTEGER,
intent(in) :: values
757 att%ATTname = trim(name)
760 allocate(att%int(att%len))
◆ nc_make_att_int_vec()
type(ncatt) function, pointer mod_nctools::nc_make_att::nc_make_att_int_vec |
( |
character(len=*), intent(in) |
NAME, |
|
|
integer, dimension(:), intent(in), allocatable |
values |
|
) |
| |
Definition at line 727 of file mod_nctools.f90.
728 TYPE(NCATT),
POINTER :: ATT
729 character(len=*),
intent(in) :: name
730 INTEGER,
allocatable,
intent(in) :: values(:)
732 if(.not.
allocated(values)) &
733 &
Call fatal_error(
"Can not make attribute: "//trim(name),&
734 &
"argument 'values' passed must be allocated and contain data")
739 att%ATTname = trim(name)
741 att%LEN =
size(values)
742 allocate(att%int(att%len))
The documentation for this interface was generated from the following file: