libsim
Versione7.2.6
|
This module defines objects and methods for managing data volumes on rectangular georeferenced grids. Continua...
Tipi di dato | |
interface | delete |
Destructor, it releases every information and memory buffer associated with the object. Continua... | |
interface | display |
Display on standard output a description of the volgrid6d object provided. Continua... | |
interface | export |
Export an object dirctly to a native file, to a gridinfo object or to a supported file format through a gridinfo object. Continua... | |
interface | import |
Import an object dirctly from a native file, from a gridinfo object or from a supported file format through a gridinfo object. Continua... | |
interface | init |
Constructor, it creates a new instance of the object. Continua... | |
interface | rounding |
Reduce some dimensions (level and timerage) for semplification (rounding). Continua... | |
interface | transform |
Transform between any combination of volgrid6d and vol7d objects by means of a transform_def object describing the transformation. Continua... | |
type | volgrid6d |
Object describing a rectangular, homogeneous gridded dataset. Continua... | |
Funzioni/Subroutine | |
subroutine | volgrid6d_init (this, griddim, time_definition, categoryappend) |
Constructor, it creates a new instance of the object. Continua... | |
subroutine, public | volgrid6d_alloc (this, dim, ntime, nlevel, ntimerange, nvar, ini) |
Allocate the dimension descriptors of the volgrid6d object. Continua... | |
subroutine, public | volgrid6d_alloc_vol (this, ini, inivol, decode) |
Allocate the data array of the volgrid6d object. Continua... | |
subroutine, public | volgrid_get_vol_2d (this, ilevel, itime, itimerange, ivar, voldati) |
Return a 2-d pointer to a x-y slice of a volume. Continua... | |
subroutine, public | volgrid_get_vol_3d (this, itime, itimerange, ivar, voldati) |
Return a 3-d pointer to a x-y-z slice of a volume. Continua... | |
subroutine, public | volgrid_set_vol_2d (this, ilevel, itime, itimerange, ivar, voldati) |
Reset a 2-d x-y slice of a volume after the data have been modified. Continua... | |
subroutine, public | volgrid_set_vol_3d (this, itime, itimerange, ivar, voldati) |
Reset a 3-d x-y-z slice of a volume after the data have been modified. Continua... | |
subroutine | volgrid6d_delete (this) |
Destructor, it releases every information and memory buffer associated with the object. Continua... | |
subroutine | volgrid6d_write_on_file (this, unit, description, filename, filename_auto) |
Scrittura su file di un volume Volgrid6d. Continua... | |
subroutine | volgrid6d_read_from_file (this, unit, filename, description, tarray, filename_auto) |
Lettura da file di un volume Volgrid6d. Continua... | |
subroutine | import_from_gridinfo (this, gridinfo, force, dup_mode, clone, isanavar) |
Import a single gridinfo object into a volgrid6d object. Continua... | |
subroutine | export_to_gridinfo (this, gridinfo, itime, itimerange, ilevel, ivar, gaid_template, clone) |
Export a single grid of a volgrid6d object to a gridinfo_def object. Continua... | |
subroutine | import_from_gridinfovv (this, gridinfov, dup_mode, clone, decode, time_definition, anavar, categoryappend) |
Import an array of gridinfo objects into an array of volgrid6d objects. Continua... | |
subroutine | export_to_gridinfov (this, gridinfov, gaid_template, clone) |
Export a volgrid6d object to an arrayof_gridinfo object. Continua... | |
subroutine | export_to_gridinfovv (this, gridinfov, gaid_template, clone) |
Export an array of volgrid6d objects to an arrayof_gridinfo object. Continua... | |
subroutine | volgrid6d_import_from_file (this, filename, dup_mode, decode, time_definition, anavar, categoryappend) |
Import the content of a supported file (like grib or gdal-supported format) into an array of volgrid6d objects. Continua... | |
subroutine | volgrid6d_export_to_file (this, filename, gaid_template, categoryappend) |
High level method for exporting a volume array to file. Continua... | |
subroutine | volgrid6dv_delete (this) |
Array destructor for volgrid6d class. Continua... | |
subroutine | volgrid6d_transform (this, griddim, volgrid6d_in, volgrid6d_out, lev_out, volgrid6d_coord_in, maskgrid, maskbounds, clone, decode, categoryappend) |
Performs the specified abstract transformation on the data provided. Continua... | |
subroutine | volgrid6dv_transform (this, griddim, volgrid6d_in, volgrid6d_out, lev_out, volgrid6d_coord_in, maskgrid, maskbounds, clone, decode, categoryappend) |
Performs the specified abstract transformation on the arrays of data provided. Continua... | |
subroutine | volgrid6d_v7d_transform_compute (this, volgrid6d_in, vol7d_out, networkname, noconvert) |
subroutine | volgrid6d_v7d_transform (this, volgrid6d_in, vol7d_out, v7d, maskgrid, maskbounds, networkname, noconvert, find_index, categoryappend) |
Performs the specified abstract transformation on the data provided. Continua... | |
subroutine | volgrid6dv_v7d_transform (this, volgrid6d_in, vol7d_out, v7d, maskgrid, maskbounds, networkname, noconvert, find_index, categoryappend) |
Performs the specified abstract transformation on the arrays of data provided. Continua... | |
subroutine | v7d_volgrid6d_transform (this, griddim, vol7d_in, volgrid6d_out, networkname, gaid_template, categoryappend) |
Performs the specified abstract transformation on the data provided. Continua... | |
subroutine | v7d_v7d_transform (this, vol7d_in, vol7d_out, v7d, maskbounds, lev_out, vol7d_coord_in, categoryappend) |
Performs the specified abstract transformation on the data provided. Continua... | |
subroutine | vg6d_wind_unrot (this) |
Unrotate the wind components. Continua... | |
subroutine | vg6d_wind_rot (this) |
Rotate the wind components. Continua... | |
subroutine, public | vg6d_c2a (this) |
Convert grids type C to type A. Continua... | |
subroutine | display_volgrid6d (this) |
Display object on screen. Continua... | |
subroutine | display_volgrid6dv (this) |
Display vector of object on screen. Continua... | |
subroutine | vg6dv_rounding (vg6din, vg6dout, level, timerange, nostatproc, merge) |
Reduce some dimensions (level and timerage) for semplification (rounding). Continua... | |
subroutine | vg6d_rounding (vg6din, vg6dout, level, timerange, nostatproc, merge) |
Reduce some dimensions (level and timerage) for semplification (rounding). Continua... | |
subroutine, public | vg6d_reduce (vg6din, vg6dout, roundlevel, roundtimerange, merge) |
Reduce some dimensions (level and timerage). Continua... | |
This module defines objects and methods for managing data volumes on rectangular georeferenced grids.
The data are accomodated in a multi-dimensional array with 6 predefined dimensions. Different geographic coordinates and projections are supported, mainly inspired by grib coding standards. The volgrid6d object contains information and data on an homogeneous grid definition, while different grids are managed as arrays of volgrid6d objects. Every object contains also an identificator of the grid (grid_id object), carrying information about the driver used or which has to be used for import/export from/to file. With the help of gridinfo_def class, data can be imported and exported to the supported formats, mainly grib1 and grib2 through grib_api and many GIS-style formats through gdal.
Simple example program
Example of transformation from volgrid6d to volgrid6d
Example of transformation from volgrid6d to vol7d
Example of transformation from vol7d to volgrid6d