libsim  Versione6.3.0
type(grid_id) function grid_id_new ( type(grid_file_id), intent(inout), optional, target  from_grid_file_id,
character(len=*), intent(in), optional  grib_api_template,
integer, intent(in), optional  grib_api_id,
integer, intent(in), optional  no_driver_id 
)

Constructor for the grid_id class.

It gets the next grid (grib message or raster band) from the file_id provided. If the file associated to the file_id provided contains no more grids, or if the argument file_id is not provided, an empty object is created; this condition can be tested with the function c_e(). Alternative ways to define the object (to be used in rare cases) are through a grib_api template file name (grib_api_template argument) or through a grib_api integer id obtained directly from grib_api calls (grib_api_id argument).

Parametri
[in,out]from_grid_file_idfile object from which grid object has to be created
[in]grib_api_templategrib_api template file from which grid_object has to be created
[in]grib_api_idgrib_api id obtained directly from a grib_get subroutine call

Definizione alla linea 613 del file grid_id_class.F90.


Generated with Doxygen.