libsim  Versione 7.1.9

◆ grid_id_copy()

subroutine grid_id_copy ( type(grid_id), intent(in)  this,
type(grid_id), intent(out)  that 
)

Performs a "deep" copy of the grid_id object when possible.

For grib_api this clones the grid_id generating a new independent object in memory, which can be manipulated without affecting the original one. The grid_id object that does not need to be initialized before the call.

Parametri
[in]thissource object
[out]thatdestination object, it must not be initialized

Definizione alla linea 711 del file grid_id_class.F90.

712 TYPE(grid_id),INTENT(in) :: this
713 INTEGER :: gaid
714 gaid = this%gaid
715 END FUNCTION grid_id_get_gaid
716 #endif
717 
718 
719 #ifdef HAVE_LIBGDAL
720 
722 FUNCTION grid_file_id_get_gdalid(this) RESULT(gdalid)
723 TYPE(grid_file_id),INTENT(in) :: this
724 TYPE(gdaldataseth) :: gdalid
725 gdalid = this%gdalid
726 END FUNCTION grid_file_id_get_gdalid
727 
730 FUNCTION grid_id_get_gdalid(this) RESULT(gdalid)
731 TYPE(grid_id),INTENT(in) :: this
732 TYPE(gdalrasterbandh) :: gdalid
733 gdalid = this%gdalid
734 END FUNCTION grid_id_get_gdalid

Generated with Doxygen.