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

Public Member Functions

subroutine print_ncf_dim_list (LIST)
 
subroutine print_var_dim_list (LIST)
 

Detailed Description

Definition at line 330 of file mod_ncll.f90.

Member Function/Subroutine Documentation

◆ print_ncf_dim_list()

subroutine mod_ncll::print_dim_list::print_ncf_dim_list ( type(ncfile), intent(in)  LIST)

Definition at line 3440 of file mod_ncll.f90.

3440  IMPLICIT NONE
3441  type(NCFILE), intent(IN) :: LIST
3442  TYPE(NCDIMP), POINTER :: CURRENT, PREVIOUS
3443  INTEGER :: CNT
3444  Character(len=4) :: chr
3445 
3446  previous => list%DIMS
3447  current => previous%NEXT
3448 
3449  IF(.NOT. ASSOCIATED(current)) THEN ! EMPTY LIST
3450  if(dbg_set(dbg_log)) &
3451  & write(ipt,*)"%%%%%%%%%%% FILE DIMENSION LIST IS EMPTY %%%%%%%%%%%%%"
3452  RETURN
3453  ELSE
3454  if(dbg_set(dbg_log)) then
3455  write(ipt,*)"%%%%%%% PRINTING FILE DIMENSION LIST %%%%%%%%%"
3456  write(ipt,*)"%%%%%%% FILE NAME: "//trim(list%FNAME)//" %%%%%%%%%"
3457  end if
3458  END IF
3459 
3460  cnt = 0
3461  DO
3462  IF(.NOT. ASSOCIATED(current)) EXIT !END OF LIST
3463  cnt = cnt + 1
3464  write(chr,'(I4.4)')cnt
3465  if(dbg_set(dbg_log)) &
3466  & write(ipt,*)"! PRINTING DIMENSION LIST ENTRY #"//chr
3467  CALL print_dim(current%DIM)
3468 
3469  previous => previous%NEXT
3470  current => current%NEXT
3471  END DO
3472  if(dbg_set(dbg_log)) &
3473  & write(ipt,*)"%%%%%%%%%%% END OF DIMENSION LIST %%%%%%%%%%%%%"

◆ print_var_dim_list()

subroutine mod_ncll::print_dim_list::print_var_dim_list ( type(ncvar), intent(in)  LIST)

Definition at line 3478 of file mod_ncll.f90.

3478  IMPLICIT NONE
3479  type(NCVAR), intent(IN) :: LIST
3480  TYPE(NCDIMP) ,POINTER :: CURRENT, PREVIOUS
3481  INTEGER :: CNT
3482  Character(len=4) :: chr
3483 
3484  previous => list%DIMS
3485  current => previous%NEXT
3486 
3487  IF(.NOT. ASSOCIATED(current)) THEN ! EMPTY LIST
3488  if(dbg_set(dbg_log)) &
3489  & write(ipt,*)"%%%%%%%%%%% VARIABLE DIMENSION LIST IS EMPTY %%%%%%%%%%%%%"
3490  RETURN
3491  ELSE
3492  if(dbg_set(dbg_log)) &
3493  & write(ipt,*)"%%%%%%% PRINTING VARIABLE: "//trim(list&
3494  &%VARNAME)//"; DIMENSION LIST %%%%%%%%%"
3495  END IF
3496 
3497  cnt = 0
3498  DO
3499  IF(.NOT. ASSOCIATED(current)) EXIT !END OF LIST
3500  cnt = cnt + 1
3501  write(chr,'(I4.4)')cnt
3502  if(dbg_set(dbg_log)) &
3503  & write(ipt,*)"! PRINTING DIMENSION LIST ENTRY #"//chr
3504  CALL print_dim(current%DIM)
3505 
3506  previous => previous%NEXT
3507  current => current%NEXT
3508  END DO
3509  if(dbg_set(dbg_log)) &
3510  & write(ipt,*)"%%%%%%%%%%% END OF DIMENSION LIST %%%%%%%%%%%%%"

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