...
| Excerpt | ||
|---|---|---|
| ||
Each element in the data section of a BUFR can be missing. ecCodes provides a simple way for the user to check if the value of an element is missing by comparing with two constants |
Step-by-step guide
Each element in the data section of a BUFR can be missing. ecCodes provides a simple way for the user to check if the value of an element is missing by comparing with two constants:
...
| Code Block |
|---|
!declare backscatter as double precision
real(kind=8), dimension(:), allocatable :: backscatter
!get the values
call codes_get(ibufr,'/beamIdentifier=2/backscatter',backscatter);
do i=1,size(backscatter)
!compare with double precision missing
if (backscatter(i)/=CODES_MISSING_DOUBLE) then
!process non missing values
else
!process missing values
endif
end do |
Related articles
| Content by Label | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...