libsim Versione 8.0.0

◆ volgrid6dv_v7d_transform()

subroutine volgrid6dv_v7d_transform ( type(transform_def), intent(in) this,
type(volgrid6d), dimension(:), intent(inout) volgrid6d_in,
type(vol7d), intent(out) vol7d_out,
type(vol7d), intent(in), optional v7d,
real, dimension(:,:), intent(in), optional maskgrid,
real, dimension(:), intent(in), optional maskbounds,
character(len=*), intent(in), optional networkname,
logical, intent(in), optional noconvert,
procedure(basic_find_index), optional, pointer find_index,
character(len=*), intent(in), optional categoryappend )
private

Performs the specified abstract transformation on the arrays of data provided.

The abstract transformation is specified by this parameter; the corresponding specifical transformation (grid_transform object) is created and destroyed internally. The output transformed object is created internally and it does not require preliminary initialisation. The transformation performed on each element of the input volgrid6d array object is merged into a single vol7d output object.

Parametri
[in]thisobject specifying the abstract transformation
[in,out]volgrid6d_inobject to be transformed, it is an array of volgrid6d objects, each of which will be transformed, it is not modified, despite the INTENT(inout)
[out]vol7d_outtransformed object, it does not require initialisation
[in]v7dobject containing a list of points over which transformation has to be done (required by some transformation types)
[in]maskgrid2D field to be used for defining subareas according to its values, it must have the same shape as the field to be interpolated (for transformation type 'maskinter')
[in]maskboundsarray of boundary values for defining subareas from the values of maskgrid, the number of subareas is SIZE(maskbounds) - 1, if not provided a default based on extreme values of makgrid is used
[in]networknameset the output network name in vol7d_out (default='generic')
[in]noconvertdo not try to match variable and convert values during transform
[in]categoryappendappend this suffix to log4fortran namespace category

Definizione alla linea 2466 del file volgrid6d_class.F90.

2468
2469 CALL compute(grid_trans, vol7d_in, volgrid6d_out, networkname, gaid_template)
2470
2471 CALL vg6d_wind_rot(volgrid6d_out)
2472ELSE
2473! should log with grid_trans%category, but it is private
2474 CALL l4f_log(l4f_error, 'v7d_vg6d_transform: transformation not valid')
2475 CALL raise_error()
2476ENDIF
2477
2478CALL delete(grid_trans)
2479
2480END SUBROUTINE v7d_volgrid6d_transform
2481
2482
2483! Internal method for performing sparse point to sparse point computations
2484SUBROUTINE v7d_v7d_transform_compute(this, vol7d_in, vol7d_out, lev_out, &
2485 var_coord_vol)
2486TYPE(grid_transform),INTENT(in) :: this ! oggetto di trasformazione per grigliato
2487type(vol7d), INTENT(in) :: vol7d_in ! oggetto da trasformare
2488type(vol7d), INTENT(inout) :: vol7d_out ! oggetto trasformato
2489TYPE(vol7d_level),INTENT(in),OPTIONAL :: lev_out(:) ! vol7d_level object defining target vertical grid, for vertical interpolations
2490INTEGER,INTENT(in),OPTIONAL :: var_coord_vol ! index of variable defining vertical coordinate values in input volume
2491
2492INTEGER :: itime, itimerange, ilevel, ivar, inetwork, &
2493 levshift, levused, lvar_coord_vol, spos

Generated with Doxygen.