My Project
Public Member Functions | List of all members
mod_ncll::print_att_list Interface Reference

Public Member Functions

subroutine print_ncf_att_list (LIST)
 
subroutine print_var_att_list (LIST)
 

Detailed Description

Definition at line 274 of file mod_ncll.f90.

Member Function/Subroutine Documentation

◆ print_ncf_att_list()

subroutine mod_ncll::print_att_list::print_ncf_att_list ( type(ncfile), intent(in)  LIST)

Definition at line 2066 of file mod_ncll.f90.

2066  IMPLICIT NONE
2067  type(NCFILE), intent(IN) :: LIST
2068  TYPE(NCATTP) ,POINTER :: CURRENT, PREVIOUS
2069  INTEGER :: CNT
2070  Character(len=4) :: chr
2071 
2072  previous => list%ATTS
2073  current => previous%NEXT
2074 
2075  IF(.NOT. ASSOCIATED(current)) THEN ! EMPTY LIST
2076  if(dbg_set(dbg_log)) &
2077  & write(ipt,*)"%%%%%%%%%%% FILE ATTRIBUTE LIST IS EMPTY %%%%%%%%%%%%%"
2078  RETURN
2079  ELSE
2080  if(dbg_set(dbg_log)) &
2081  & write(ipt,*)"%%%%%%% PRINTING GLOBAL ATTRIBUTE LIST %%%%%%%%%"
2082  END IF
2083 
2084  cnt = 0
2085  DO
2086  IF(.NOT. ASSOCIATED(current)) EXIT !END OF LIST
2087  cnt = cnt + 1
2088  write(chr,'(I4.4)')cnt
2089  if(dbg_set(dbg_log)) &
2090  & write(ipt,*)"! PRINTING ATTRIBUTE LIST ENTRY #"//chr
2091  CALL print_att(current%ATT)
2092 
2093  previous => previous%NEXT
2094  current => current%NEXT
2095  END DO
2096  if(dbg_set(dbg_log)) &
2097  & write(ipt,*)"%%%%%%%%%%% END OF ATTRIBUTE LIST %%%%%%%%%%%%%"

◆ print_var_att_list()

subroutine mod_ncll::print_att_list::print_var_att_list ( type(ncvar), intent(in)  LIST)

Definition at line 2102 of file mod_ncll.f90.

2102  IMPLICIT NONE
2103  type(NCVAR), intent(IN) :: LIST
2104  TYPE(NCATTP) ,POINTER :: CURRENT, PREVIOUS
2105  INTEGER :: CNT
2106  Character(len=4) :: chr
2107 
2108  previous => list%ATTS
2109  current => previous%NEXT
2110 
2111  IF(.NOT. ASSOCIATED(current)) THEN ! EMPTY LIST
2112  if(dbg_set(dbg_log)) &
2113  & write(ipt,*)"%%%%%%%% VAIABLE ATTRIBUTE LIST IS EMPTY %%%%%%%%%%"
2114  RETURN
2115  ELSE
2116  if(dbg_set(dbg_log)) &
2117  & write(ipt,*)"%%%%%%% PRINTING VARIALBE: "//trim(list%VARNAME)//"&
2118  &; ATTRIBUTE LIST %%%%%%%%"
2119  END IF
2120 
2121  cnt = 0
2122  DO
2123  IF(.NOT. ASSOCIATED(current)) EXIT !END OF LIST
2124  cnt = cnt + 1
2125  write(chr,'(I4.4)')cnt
2126  if(dbg_set(dbg_log)) &
2127  & write(ipt,*)"! PRINTING ATTRIBUTE LIST ENTRY #"//chr
2128  CALL print_att(current%ATT)
2129 
2130  previous => previous%NEXT
2131  current => current%NEXT
2132  END DO
2133  if(dbg_set(dbg_log)) &
2134  & write(ipt,*)"%%%%%%%%%%% END OF ATTRIBUTE LIST %%%%%%%%%%%%%"

The documentation for this interface was generated from the following file: