From 25ec455c444778625f108f05106ade95090db31c Mon Sep 17 00:00:00 2001 From: Erik Askov Mousing Date: Tue, 29 Oct 2024 09:13:23 +0000 Subject: [PATCH] Added user guide static page in documentation Started writing documentation for the model configuration options --- docs/index.md | 2 +- docs/user_guide/configuration.md | 68 ++++++++++++++++++++++++++++++++ docs/user_guide/index.md | 9 +++++ 3 files changed, 78 insertions(+), 1 deletion(-) create mode 100644 docs/user_guide/configuration.md create mode 100644 docs/user_guide/index.md diff --git a/docs/index.md b/docs/index.md index baee2e9..6fe7f5a 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,4 +1,4 @@ --- -title: Model Documentation +title: Documentation --- diff --git a/docs/user_guide/configuration.md b/docs/user_guide/configuration.md new file mode 100644 index 0000000..35ee6bd --- /dev/null +++ b/docs/user_guide/configuration.md @@ -0,0 +1,68 @@ +--- +title: Configuration +--- + +uEMEP is flexible and has a large amount of configuration options. The syntax follows Fortran syntax, similar to the use of namelists. + +## Contents: +- [File tag](#file-tag) +- [Temporal scale](#temporal-scale) +- [Emission sources](#emission-sources) +- [EMEP forcing data](#emep-forcing-data) + +## File tag + +uEMEP writes the model output as NetCDF format and the file tag is used to create file names associated with the specific calculation. + +```fortran +file_tag = 'example' +``` + +## Temporal scale + +uEMEP can be run on either the hourly or the annual scale. By default, both of these options are set to false, and one must be set to true for uEMEP to run. + +```fortran +! Set calculations to be performed at the hourly scale +hourly_calculations = .true. + +! Set calculations to be performed at the annual scale +annual_calculations = .true. +``` + +Note that setting both to true will not work and will result in the model crashing. + +## Emission sources + +uEMEP can include a number of emission sources, which by default are set to false. One or more emission sources should be set to true for uEMEP to run. In addition to setting the inclusion of the emission sources to true, valid proxy redistribution data is required. Currently, uEMEP includes procedures to include the following emission sources: + +```fortran +! Include emissions from traffic in the calculations +calculate_source(traffic_index) = .true. + +! Include emissions from shipping in the calculations +calculate_source(shipping_index) = .true. + +! Include emissions from agriculture in the calculations +calculate_source(agriculture_index) = .true. + +! Include emissions from residential heating in the calculations +calculate_source(heating_index) = .true. + +! Include emissions from industrial sources in the calculations +calculate_source(industry_index) = .true. +``` +## EMEP forcing data + +uEMEP will downscale output from the EMEP model, and thus requires an EMEP simulation with output from local fractions included to be present. The path and filename pointing to the EMEP model output should be provided for uEMEP to run. + +```fortran +! Set the path and filename for the EMEP NetCDF files including meteorology +pathname_EMEP(1) = 'path_to_emep_files' +filename_EMEP(1) = 'emep_file.nc' + +! Set the path and filename for the EMEP NetCDF files including local fractions +pathname_EMEP(2) = 'path_to_emep_lf_files' +filename_EMEP(2) = 'emep_lf_file.nc' +``` + diff --git a/docs/user_guide/index.md b/docs/user_guide/index.md new file mode 100644 index 0000000..a039535 --- /dev/null +++ b/docs/user_guide/index.md @@ -0,0 +1,9 @@ +--- +title: User Guide +--- + +Welcome to the uEMEP user guide! + +## Contents + +- [Configuration](./configuration.html)