libsim Versione 7.2.6

◆ grid_id_copy()

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

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

706gaid = this%gaid
707END FUNCTION grid_file_id_get_gaid
708
709!> Returns the original grib_api id associated with the object
710!! provided, i.e. the grib_api id associated to the grid.
711FUNCTION grid_id_get_gaid(this) RESULT(gaid)
712TYPE(grid_id),INTENT(in) :: this !< object to query
713INTEGER :: gaid
714gaid = this%gaid
715END FUNCTION grid_id_get_gaid
716#endif
717
718
719#ifdef HAVE_LIBGDAL
720!> Returns the original gdal Fortran object associated with the object
721!! provided, i.e. the dataset pointer.
722FUNCTION grid_file_id_get_gdalid(this) RESULT(gdalid)
723TYPE(grid_file_id),INTENT(in) :: this !< object to query
724TYPE(gdaldataseth) :: gdalid
725gdalid = this%gdalid
726END FUNCTION grid_file_id_get_gdalid
727
728!> Returns the original gdal Fortran object associated with the object

Generated with Doxygen.