libsim Versione 7.2.1

◆ grid_id_delete()

subroutine grid_id_delete ( type(grid_id), intent(inout)  this)

Destructor for the grid_id class.

It releases the memory associated with the grid descriptor identifier. In grib_api this is necessary and can be made also after closing the corresponding grid_file_id object; while for gdal this is a no-operation.

Parametri
[in,out]thisobject to be deleted

Definizione alla linea 669 del file grid_id_class.F90.

670 CALL grib_keys_iterator_new(this%gaid, kiter, namespace=trim(lnamespace))
671
672 iter: DO
673 CALL grib_keys_iterator_next(kiter, iret)
674
675 IF (iret /= 1) THEN
676 EXIT iter
677 END IF
678
679 CALL grib_keys_iterator_get_name(kiter, key)
680
681 IF (key == 'computeStatistics') cycle
682
683 CALL grib_get(this%gaid, trim(key), value, iret)
684 IF (iret == 0)THEN
685 print*, trim(key)//' = '//trim(VALUE)

Generated with Doxygen.