libsim  Versione7.2.1

◆ grid_file_id_count()

integer function grid_id_class::grid_file_id_count ( type(grid_file_id), intent(in)  this)

Count the number of block/message/record/band of gridded data in the file-like object provided.

Returns 0 if the file_id object is empty or not corrctly associated to a file.

Parametri
[in]thisfile object to count

Definizione alla linea 505 del file grid_id_class.F90.

505 LOGICAL :: readonly
506 
507 readonly = this%driver /= grid_id_grib_api
508 
509 END FUNCTION grid_id_readonly
510 
511 
517 SUBROUTINE grid_id_copy(this, that)
518 TYPE(grid_id),INTENT(in) :: this
519 TYPE(grid_id),INTENT(out) :: that
520 
521 that = this ! start with a shallow copy
522 
523 #ifdef HAVE_LIBGRIBAPI
524 IF (this%driver == grid_id_grib_api) THEN
525  IF (c_e(this%gaid)) THEN
526  that%gaid = -1

Generated with Doxygen.