libsim Versione 7.2.1

◆ grid_file_id_delete()

subroutine grid_file_id_delete ( type(grid_file_id), intent(inout)  this)

Destructor for the grid_file_id class.

It closes the associated file(s) and releases the associated memory, but, in some drivers like grib_api, it may not release the memory associated to the grid_id objects read from that file, which continue their life in memory.

Parametri
[in,out]thisobject to be deleted

Definizione alla linea 525 del file grid_id_class.F90.

526 that%gaid = -1
527 CALL grib_clone(this%gaid, that%gaid)
528 ENDIF
529ENDIF
530#endif
531#ifdef HAVE_LIBGDAL
532IF (this%driver == grid_id_gdal) THEN
533 IF (c_e(this)) THEN
534! that = grid_id_new(no_driver_id=1)
535! that%gdalid = this%gdalid ! better idea?
536! that%file_id => this%file_id
537 ENDIF
538ENDIF
539#endif
540
541END SUBROUTINE grid_id_copy
542
543

Generated with Doxygen.