libsim  Versione8.0.0

◆ grid_id_decode_data()

subroutine grid_id_class::grid_id_decode_data ( type(grid_id), intent(in)  this,
real, dimension(:,:), intent(out)  field,
logical, intent(out), optional  done 
)

Decode and return the data array from a grid_id object.

The output array field must have a size matching the size of the encoded data.

Definizione alla linea 956 del file grid_id_class.F90.

956  CALL l4f_log(l4f_error, "grib_api alternativeRowScanning not supported: " &
957  //trim(to_char(alternativerowscanning)))
958  CALL raise_error()
959  RETURN
960  ENDIF
961 
962 else if( editionnumber /= 1) then
963 
964  call l4f_log(l4f_error, &
965  "grib_api GribEditionNumber not supported: "//t2c(editionnumber))
966  call raise_error()
967  RETURN
968 
969 end if
970 
971 CALL grib_get(gaid,'iScansNegatively',iscansnegatively,ierr)
972 IF (ierr /= grib_success) iscansnegatively=0
973 CALL grib_get(gaid,'jScansPositively',jscanspositively,ierr)
974 IF (ierr /= grib_success) jscanspositively=1
975 CALL grib_get(gaid,'jPointsAreConsecutive',jpointsareconsecutive,ierr)
976 IF (ierr /= grib_success) jpointsareconsecutive=0
977 
978 ! these grib_sets are alredy done in gridinfo_export, but it seems
979 ! that it is necessary to repeat them here, they can fail with
980 ! unstructured grids, thus ierr

Generated with Doxygen.