mod_area_interpolation Module


Used by

  • module~~mod_area_interpolation~~UsedByGraph module~mod_area_interpolation mod_area_interpolation module~auto_subgrid auto_subgrid module~auto_subgrid->module~mod_area_interpolation module~read_agriculture_asi_data read_agriculture_asi_data module~read_agriculture_asi_data->module~mod_area_interpolation module~read_shipping_asi_data read_shipping_asi_data module~read_shipping_asi_data->module~mod_area_interpolation module~read_ssb_data read_ssb_data module~read_ssb_data->module~mod_area_interpolation module~save_netcdf_file save_netcdf_file module~save_netcdf_file->module~mod_area_interpolation module~subgrid_deposition subgrid_deposition module~subgrid_deposition->module~mod_area_interpolation module~subgrid_deposition_emep subgrid_deposition_emep module~subgrid_deposition_emep->module~mod_area_interpolation module~subgrid_dispersion subgrid_dispersion module~subgrid_dispersion->module~mod_area_interpolation module~redistribute_data redistribute_data module~redistribute_data->module~save_netcdf_file module~save_emission_netcdf save_emission_netcdf module~save_emission_netcdf->module~read_agriculture_asi_data module~save_emission_netcdf->module~read_shipping_asi_data module~save_emission_netcdf->module~save_netcdf_file program~uemep uEMEP program~uemep->module~auto_subgrid program~uemep->module~read_agriculture_asi_data program~uemep->module~read_shipping_asi_data program~uemep->module~read_ssb_data program~uemep->module~save_netcdf_file program~uemep->module~subgrid_deposition program~uemep->module~subgrid_deposition_emep program~uemep->module~subgrid_dispersion program~uemep->module~redistribute_data program~uemep->module~save_emission_netcdf

Functions

public function area_weighted_extended_interpolation_function(xgrid, ygrid, zgrid, xdim, ydim, delta, xval, yval, delta_val) result(res)

Returns the area weighted value for rectangle of size delta_val at position xval, yval from the grid values xgrid,ygrid,zgrid Delta_val can be any size

Arguments

Type IntentOptional Attributes Name
real, intent(in) :: xgrid(xdim,ydim)
real, intent(in) :: ygrid(xdim,ydim)
real, intent(in) :: zgrid(xdim,ydim)
integer, intent(in) :: xdim
integer, intent(in) :: ydim
real, intent(in) :: delta(2)
real, intent(in) :: xval
real, intent(in) :: yval
real, intent(in) :: delta_val(2)

Return Value real

public function area_weighted_extended_vectorgrid_interpolation_function(xgrid, ygrid, zgrid, xdim, ydim, delta, xval, yval, delta_val) result(res)

Returns the area weighted value for rectangle of size delta_val at position xval, yval from the grid values xgrid,ygrid,zgrid Delta_val can be any size vectorgrid means the grid positions only have one dimension

Arguments

Type IntentOptional Attributes Name
real, intent(in) :: xgrid(xdim)
real, intent(in) :: ygrid(ydim)
real, intent(in) :: zgrid(xdim,ydim)
integer, intent(in) :: xdim
integer, intent(in) :: ydim
real, intent(in) :: delta(2)
real, intent(in) :: xval
real, intent(in) :: yval
real, intent(in) :: delta_val(2)

Return Value real

public function area_weighted_interpolation_function(xgrid, ygrid, zgrid, xdim, ydim, delta, xval, yval) result(res)

Returns the area weight value for a a point at position xval, yval from the grid values xgrid,ygrid,zgrid

Arguments

Type IntentOptional Attributes Name
real, intent(in) :: xgrid(xdim,ydim)
real, intent(in) :: ygrid(xdim,ydim)
real, intent(in) :: zgrid(xdim,ydim)
integer, intent(in) :: xdim
integer, intent(in) :: ydim
real, intent(in) :: delta(2)
real, intent(in) :: xval
real, intent(in) :: yval

Return Value real