libsim Versione 7.1.11

◆ 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 2414 del file volgrid6d_class.F90.

2416 CALL l4f_log(l4f_error, 'v7d_vg6d_transform: transformation not valid')
2417 CALL raise_error()
2418ENDIF
2419
2420CALL delete(grid_trans)
2421
2422END SUBROUTINE v7d_volgrid6d_transform
2423
2424
2425! Internal method for performing sparse point to sparse point computations
2426SUBROUTINE v7d_v7d_transform_compute(this, vol7d_in, vol7d_out, lev_out, &
2427 var_coord_vol)
2428TYPE(grid_transform),INTENT(in) :: this ! oggetto di trasformazione per grigliato
2429type(vol7d), INTENT(in) :: vol7d_in ! oggetto da trasformare
2430type(vol7d), INTENT(inout) :: vol7d_out ! oggetto trasformato
2431TYPE(vol7d_level),INTENT(in),OPTIONAL :: lev_out(:) ! vol7d_level object defining target vertical grid, for vertical interpolations
2432INTEGER,INTENT(in),OPTIONAL :: var_coord_vol ! index of variable defining vertical coordinate values in input volume
2433
2434INTEGER :: itime, itimerange, ilevel, ivar, inetwork, &
2435 levshift, levused, lvar_coord_vol, spos
2436REAL,ALLOCATABLE :: coord_3d_in(:,:,:)
2437TYPE(vol7d_level) :: output_levtype
2438
2439lvar_coord_vol = optio_i(var_coord_vol)
2440vol7d_out%time(:) = vol7d_in%time(:)
2441vol7d_out%timerange(:) = vol7d_in%timerange(:)

Generated with Doxygen.