libsim
Versione8.0.0
volgrid6d_var_class
conv_func_compute
count_distinct_var6d
display_volgrid6d_var
index_var6d
map_distinct_var6d
map_inv_distinct_var6d
pack_distinct_var6d
varbufr2vargrib
varbufr2vargrib_convert
vargrib2varbufr
vargrib2varbufr_convert
volgrid6d_var_hor_comp_index
volgrid6d_var_is_hor_comp
volgrid6d_var_miss
volgrid6d_var_new
volgrid6d_var_normalize
◆
map_distinct_var6d()
integer function, dimension(size(vect)) volgrid6d_var_class::map_distinct_var6d
(
type(
volgrid6d_var
), dimension(:), intent(in)
vect
,
logical, dimension(:), intent(in), optional
mask
,
logical, intent(in), optional
back
)
private
map distinct
Definizione alla linea
824
del file
volgrid6d_var_class.F90
.
824
! test about presence of u and v in standard table
825
!if ( index(conv_fwd(:)%v7d_var,varu) == 0 .or. index(conv_fwd(:)%v7d_var,varv) == 0 )then
826
! call l4f_category_log(this%category,L4F_FATAL, &
827
! "variables B11003 and/or B11004 (wind components) not defined by vg6d_v7d_var_conv_setup")
828
! CALL raise_error()
829
! RETURN
830
!end if
831
!
832
!if (associated(this%var))then
833
! nvar=size(this%var)
834
! allocate(varbufr(nvar),stat=stallo)
835
! if (stallo /=0)then
836
! call l4f_log(L4F_FATAL,"allocating memory")
837
! call raise_fatal_error("allocating memory")
838
! end if
839
!
840
! CALL vargrib2varbufr(this%var, varbufr)
841
!ELSE
842
! CALL l4f_category_log(this%category, L4F_ERROR, &
843
! "trying to destagger an incomplete volgrid6d object")
844
! CALL raise_error()
845
! RETURN
846
!end if
847
!
848
!nvaru=COUNT(varbufr==varu)
849
!nvarv=COUNT(varbufr==varv)
850
!
851
!if (nvaru > 1 )then
852
! call l4f_category_log(this%category,L4F_WARN, &
853
! ">1 variables refer to u wind component, destaggering will not be done ")
854
! DEALLOCATE(varbufr)
855
! RETURN
856
!endif
857
!
858
!if (nvarv > 1 )then
859
! call l4f_category_log(this%category,L4F_WARN, &
860
! ">1 variables refer to v wind component, destaggering will not be done ")
861
! DEALLOCATE(varbufr)
862
! RETURN
863
!endif
864
!
865
!if (nvaru == 0 .and. nvarv == 0) then
866
! call l4f_category_log(this%category,L4F_WARN, &
867
! "no u or v wind component found in volume, nothing to do")
868
! DEALLOCATE(varbufr)
869
! RETURN
870
!endif
871
!
872
!if (COUNT(varbufr/=varu .and. varbufr/=varv) > 0) then
873
! call l4f_category_log(this%category,L4F_WARN, &
874
! "there are variables different from u and v wind component in C grid")
875
!endif
876
877
878
END MODULE
volgrid6d_var_class
879
volgrid6d_var_class
Class for managing physical variables in a grib 1/2 fashion.
Definition:
volgrid6d_var_class.F90:228
Generated with
Doxygen
.