|
|
◆ arrayof_gridinfo_insert_array()
| subroutine, private gridinfo_class::arrayof_gridinfo_insert_array |
( |
type(arrayof_gridinfo) |
this, |
|
|
type(gridinfo_def), dimension(:), intent(in), optional |
content, |
|
|
integer, intent(in), optional |
nelem, |
|
|
integer, intent(in), optional |
pos |
|
) |
| |
|
private |
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.
- Parametri
-
| this | array object to extend |
| [in] | content | object of TYPE TYPE(gridinfo_def) to insert, if not provided, space is reserved but not initialized |
| [in] | nelem | number of elements to add, mutually exclusive with the previous parameter, if both are not provided, a single element is added without initialization |
| [in] | pos | position where to insert, if it is out of range, it is clipped, if it is not provided, the object is appended |
Definizione alla linea 451 del file gridinfo_class.F90.
452 #ifdef HAVE_LIBGRIBAPI 453 IF (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) 459 IF (grid_id_get_driver(this%gaid) == 'gdal') THEN 461 CALL l4f_category_log(this%category,l4f_warn, "export to gdal not implemented" ) 465 END SUBROUTINE gridinfo_export 473 SUBROUTINE gridinfo_export_to_file(this, filename, categoryappend) 474 TYPE(arrayof_gridinfo) :: this 475 CHARACTER(len=*), INTENT(in) :: filename 476 CHARACTER(len=*), INTENT(in), OPTIONAL :: categoryappend 479 TYPE(l4f_handle) :: category 480 CHARACTER(len=512) :: a_name 481 TYPE(grid_file_id) :: output_file 482 TYPE(grid_id) :: valid_grid_id 484 IF ( PRESENT(categoryappend)) THEN
|