libsim Versione 7.2.6

◆ grid_file_id_count()

integer function grid_file_id_count ( type(grid_file_id), intent(in) this)
private

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 494 del file grid_id_class.F90.

495
496this%driver = imiss
497
498END SUBROUTINE grid_id_delete
499
500
501!> Check whether the grid_id object is readonly (.TRUE.) or allows
502!! writing bands (.FALSE.)
503FUNCTION grid_id_readonly(this) RESULT(readonly)
504TYPE(grid_id),INTENT(in) :: this !< object to test
505LOGICAL :: readonly
506
507readonly = this%driver /= grid_id_grib_api
508
509END FUNCTION grid_id_readonly
510
511
512!> Performs a "deep" copy of the \a grid_id object when possible.
513!! For grib_api this clones the grid_id generating a new independent
514!! object in memory, which can be manipulated without affecting the
515!! original one. The \a grid_id object \a that does not need to be
516!! initialized before the call.

Generated with Doxygen.