libsim  Versione6.3.0

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

731 TYPE(grid_id),INTENT(in) :: this
732 TYPE(gdalrasterbandh) :: gdalid
733 gdalid = this%gdalid
734 END FUNCTION grid_id_get_gdalid
735 
738 FUNCTION grid_id_get_gdal_options(this) RESULT(gdal_options)
739 TYPE(grid_id),INTENT(in) :: this
740 TYPE(gdal_file_id_options) :: gdal_options
741 
742 TYPE(gdal_file_id_options) :: gdal_options_local
743 
744 IF (ASSOCIATED(this%file_id)) THEN
745  gdal_options = this%file_id%gdal_options
746 ELSE
747  gdal_options = gdal_options_local ! empty object
748 ENDIF
749 
750 END FUNCTION grid_id_get_gdal_options
751 #endif
752 
753 

Generated with Doxygen.