|
libsim Versione 8.0.0
|
◆ arrayof_gridinfo_insert_array()
Method for inserting a number of elements of the array at a desired position. If necessary, the array is reallocated to accomodate the new elements.
Definizione alla linea 440 del file gridinfo_class.F90. 441#ifdef HAVE_LIBGDAL
442!TYPE(gdalrasterbandh) :: gdalid
443#endif
444
445#ifdef DEBUG
446call l4f_category_log(this%category,l4f_debug,"export to gaid" )
447#endif
448
449! griddim is exported separately in grid_class
450CALL export(this%griddim, this%gaid)
451
452#ifdef HAVE_LIBGRIBAPI
453IF (grid_id_get_driver(this%gaid) == 'grib_api') THEN
454 gaid = grid_id_get_gaid(this%gaid)
455 IF (c_e(gaid)) CALL gridinfo_export_gribapi(this, gaid)
456ENDIF
457#endif
458#ifdef HAVE_LIBGDAL
459IF (grid_id_get_driver(this%gaid) == 'gdal') THEN
460!gdalid = grid_id_get_gdalid(this%gaid)
461 CALL l4f_category_log(this%category,l4f_warn,"export to gdal not implemented" )
462ENDIF
463#endif
464
465END SUBROUTINE gridinfo_export
466
467
468!> Export an arrayof_gridinfo object to a file.
469!! It receives an \a arrayof_gridinfo object which will be exported to
470!! the given file. The driver for writing to file is chosen according
471!! to the gaid associated to the first gridinfo element, and it must
472!! be the same for all the elements.
473SUBROUTINE gridinfo_export_to_file(this, filename, categoryappend)
474TYPE(arrayof_gridinfo) :: this !< array of gridinfo objects which will be written to file
|