save_netcdf_file Module


Uses

  • module~~save_netcdf_file~~UsesGraph module~save_netcdf_file save_netcdf_file module~chemistry_no2 chemistry_no2 module~save_netcdf_file->module~chemistry_no2 module~mod_area_interpolation mod_area_interpolation module~save_netcdf_file->module~mod_area_interpolation module~mod_read_esri_ascii_file mod_read_esri_ascii_file module~save_netcdf_file->module~mod_read_esri_ascii_file module~uemep_configuration uemep_configuration module~save_netcdf_file->module~uemep_configuration module~chemistry_no2->module~uemep_configuration module~time_functions time_functions module~chemistry_no2->module~time_functions module~uemep_constants uemep_constants module~chemistry_no2->module~uemep_constants module~uemep_definitions uEMEP_definitions module~chemistry_no2->module~uemep_definitions module~mod_read_esri_ascii_file->module~uemep_definitions module~uemep_configuration->module~uemep_constants module~uemep_configuration->module~uemep_definitions module~uemep_logger uemep_logger module~uemep_configuration->module~uemep_logger module~time_functions->module~uemep_constants

Used by

  • module~~save_netcdf_file~~UsedByGraph module~save_netcdf_file save_netcdf_file module~redistribute_data redistribute_data module~redistribute_data->module~save_netcdf_file module~save_emission_netcdf save_emission_netcdf module~save_emission_netcdf->module~save_netcdf_file program~uemep uEMEP program~uemep->module~save_netcdf_file program~uemep->module~redistribute_data program~uemep->module~save_emission_netcdf

Functions

private function DIRECTION(UD, VD)

Arguments

Type IntentOptional Attributes Name
real :: UD
real :: VD

Return Value real

public function mean_mask(array, mask, n1, n2, n3)

Arguments

Type IntentOptional Attributes Name
real, intent(in) :: array(n1,n2,n3)
logical, intent(in) :: mask(n1,n2)
integer, intent(in) :: n1
integer, intent(in) :: n2
integer, intent(in) :: n3

Return Value real

private function mean_nodata(array, n1, n2, n3, nodata_num)

Arguments

Type IntentOptional Attributes Name
real :: array(n1,n2,n3)
integer :: n1
integer :: n2
integer :: n3
real :: nodata_num

Return Value real


Subroutines

public subroutine check(status)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: status

public subroutine uEMEP_save_netcdf_control()

.or. use_region_select_and_mask_flag ?? !!!!! what to write here???

Arguments

None

private subroutine uEMEP_save_netcdf_file(unit_logfile_in, filename_netcdf, nx, ny, nt_in, val_array_in, x_array, y_array, lon_array, lat_array, name_array, unit_array, title_str, create_file, valid_min, variable_type, scale_factor)

Arguments

Type IntentOptional Attributes Name
integer :: unit_logfile_in
character(len=256) :: filename_netcdf
integer :: nx
integer :: ny
integer :: nt_in
real :: val_array_in(nx,ny,nt_in)
real :: x_array(nx,ny)
real :: y_array(nx,ny)
real :: lon_array(nx,ny)
real :: lat_array(nx,ny)
character(len=256) :: name_array
character(len=256) :: unit_array
character(len=256) :: title_str
logical :: create_file
real :: valid_min
character(len=256) :: variable_type
real :: scale_factor

private subroutine uEMEP_save_netcdf_receptor_file(unit_logfile_in, filename_netcdf, nx, ny, nt_in, val_array_in, x_array, y_array, lon_array, lat_array, name_array, unit_array, title_str, create_file, valid_min, x_rec, y_rec, lon_rec, lat_rec, height_rec, name_rec_in, nr, variable_type, scale_factor)

call check( nf90_put_var(ncid, time_varid, val_dim_nc(1:dim_length_nc(time_dim_nc_index),time_dim_nc_index), start=(/n_dims_start(2)/), count=(/n_dims_length(2)/)) ) call check( nf90_put_var(ncid, station_varid, name_rec(:), start = (/1,1/), count=(/n_dims(1),n_char/)) )

Read more…

Arguments

Type IntentOptional Attributes Name
integer :: unit_logfile_in
character(len=256) :: filename_netcdf
integer :: nx
integer :: ny
integer :: nt_in
real :: val_array_in(nx,ny,nt_in)
real :: x_array(nx,ny)
real :: y_array(nx,ny)
real :: lon_array(nx,ny)
real :: lat_array(nx,ny)
character(len=256) :: name_array
character(len=256) :: unit_array
character(len=256) :: title_str
logical :: create_file
real :: valid_min
real :: x_rec(nr)
real :: y_rec(nr)
real :: lon_rec(nr)
real :: lat_rec(nr)
real :: height_rec(nr)
character(len=256) :: name_rec_in(nr)
integer :: nr
character(len=256) :: variable_type
real :: scale_factor