|
◆ griddim_set_val()
subroutine griddim_set_val |
( |
type(griddim_def), intent(inout) | this, |
|
|
integer, intent(in), optional | nx, |
|
|
integer, intent(in), optional | ny, |
|
|
double precision, intent(in), optional | xmin, |
|
|
double precision, intent(in), optional | xmax, |
|
|
double precision, intent(in), optional | ymin, |
|
|
double precision, intent(in), optional | ymax, |
|
|
double precision, intent(in), optional | dx, |
|
|
double precision, intent(in), optional | dy, |
|
|
integer, intent(in), optional | component_flag, |
|
|
character(len=*), intent(in), optional | proj_type, |
|
|
double precision, intent(in), optional | lov, |
|
|
integer, intent(in), optional | zone, |
|
|
double precision, intent(in), optional | xoff, |
|
|
double precision, intent(in), optional | yoff, |
|
|
double precision, intent(in), optional | longitude_south_pole, |
|
|
double precision, intent(in), optional | latitude_south_pole, |
|
|
double precision, intent(in), optional | angle_rotation, |
|
|
double precision, intent(in), optional | longitude_stretch_pole, |
|
|
double precision, intent(in), optional | latitude_stretch_pole, |
|
|
double precision, intent(in), optional | stretch_factor, |
|
|
double precision, intent(in), optional | latin1, |
|
|
double precision, intent(in), optional | latin2, |
|
|
double precision, intent(in), optional | lad, |
|
|
integer, intent(in), optional | projection_center_flag, |
|
|
double precision, intent(in), optional | ellips_smaj_axis, |
|
|
double precision, intent(in), optional | ellips_flatt, |
|
|
integer, intent(in), optional | ellips_type ) |
|
private |
Set the object content.
- Parametri
-
[in,out] | this | object to be queried |
[in] | nx | number of points along the x axis |
[in] | ny | number of points along the y axis |
[in] | xmin | longitudini e latitudini minime e massime |
[in] | xmax | longitudini e latitudini minime e massime |
[in] | ymin | longitudini e latitudini minime e massime |
[in] | ymax | longitudini e latitudini minime e massime |
[in] | ymax | grid extremes in projection units (degrees or meters depending on the projection type) |
[in] | dx | grid steps in x and y directions |
[in] | dy | grid steps in x and y directions |
[in] | component_flag | Resolved u- and v- components of vector quantities relative to 0=the easterly and northerly directions 1=the defined grid in the direction of increasing x and y (or i and j) coordinates respectively (0=north, 128=south) |
[in] | proj_type | type of projection |
[in] | lov | line of view, also known as reference longitude or orientation of the grid (polar projections) |
[in] | zone | Earth zone (mainly for UTM), sets lov to the correct zone central meridian |
[in] | xoff | offset on x axis (false easting) |
[in] | yoff | offset on y axis (false northing) |
[in] | longitude_south_pole | longitude of the southern pole of projection |
[in] | latitude_south_pole | latitude of the southern pole of projection |
[in] | angle_rotation | angle of rotation of projection |
[in] | longitude_stretch_pole | longitude of the pole of stretching |
[in] | latitude_stretch_pole | latitude of the pole of stretching |
[in] | stretch_factor | stretching factor |
[in] | latin1 | first standard latitude from main pole (Lambert) |
[in] | latin2 | second standard latitude from main pole (Lambert) |
[in] | lad | latitude at which dx and dy (in m) are specified (Lambert, grib2 only) |
[in] | projection_center_flag | flag indicating which pole is represented |
[in] | ellips_smaj_axis | Earth semi-major axis |
[in] | ellips_flatt | Earth flattening |
[in] | ellips_type | number in the interval [1,nellips] indicating a predefined ellipsoid, alternative to the previous arguments |
Definizione alla linea 712 del file grid_class.F90.
719IF (gdalassociated(gdalid)) CALL griddim_import_gdal(this, gdalid, &
720 grid_id_get_gdal_options(ingrid_id))
721#endif
722
723END SUBROUTINE griddim_import_grid_id
724
725
726
727
728
729
730SUBROUTINE griddim_export_grid_id(this, outgrid_id)
731#ifdef HAVE_LIBGDAL
732USE gdal
733#endif
734TYPE(griddim_def),INTENT(in) :: this
735TYPE(grid_id),INTENT(inout) :: outgrid_id
736
737#ifdef HAVE_LIBGRIBAPI
738INTEGER :: gaid
739#endif
740#ifdef HAVE_LIBGDAL
741TYPE(gdalrasterbandh) :: gdalid
742#endif
743
744#ifdef HAVE_LIBGRIBAPI
745gaid = grid_id_get_gaid(outgrid_id)
746IF (c_e(gaid)) CALL griddim_export_gribapi(this, gaid)
747#endif
748#ifdef HAVE_LIBGDAL
749gdalid = grid_id_get_gdalid(outgrid_id)
750
751
752#endif
753
754END SUBROUTINE griddim_export_grid_id
755
756
757#ifdef HAVE_LIBGRIBAPI
758
759SUBROUTINE griddim_import_gribapi(this, gaid)
760USE grib_api
761TYPE(griddim_def),INTENT(inout) :: this
762INTEGER, INTENT(in) :: gaid
763
|