-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
44 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,7 @@ | ||
# uEMEP | ||
Air quality dispersion model for high resolution downscaling of EMEP MSC-W | ||
|
||
Comments, questions to [email protected] | ||
|
||
This github repository contains the fortran code for compiling the uEMEP model. | ||
|
||
## This version | ||
Version 6.0 | ||
This Github repository contains the source code for the uEMEP model. | ||
|
||
## Installation | ||
|
||
|
@@ -31,22 +26,10 @@ Tests are currently built by default when building uEMEP. | |
|
||
To run the tests, simply run `make test` or `ctest` in the build directory after running `make`. | ||
|
||
## Implementation | ||
The command line structure for uEMEP is as follows: | ||
uEMEPvX.exe config_file_1 config_file_2 … config_file_10 yyyymmddHH | ||
|
||
where X is the current version. | ||
The file names config_file_n are up to 10 configuration files that can be read that specify the model calculation. | ||
|
||
Each new configuration file will overwrite the previous values of the parameters specified in the new configuration file. | ||
|
||
Parameters that are not specified will be unchanged. | ||
|
||
The date string, required, ‘yyyymmddHH’ refers to the date string of the EMEP file to be read, specified in the configuration files. | ||
|
||
uEMEP uses the time stamps provided by EMEP to specify the calculation times. | ||
|
||
uEMEP requires EMEP output files, one of which contains the local fraction data, for implementation. | ||
|
||
## Running | ||
|
||
For help on running uEMEP, run the following from the `build` directory: | ||
|
||
```bash | ||
./uemep --help | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
program uEMEP_v6 | ||
program uEMEP | ||
!! **************************************************************************** | ||
!! uEMEP control v2 | ||
!! uEMEP | ||
!! | ||
!! Bruce rolstad Denby ([email protected]) | ||
!! MET Norway | ||
|
@@ -73,20 +73,19 @@ program uEMEP_v6 | |
integer :: source_index | ||
real :: start_time_cpu, end_time_cpu | ||
logical :: have_read_emep = .false. | ||
character(len=64) :: logfile_name = "logfile.txt", program_name | ||
|
||
! Start timer | ||
call cpu_Time(start_time_cpu) | ||
|
||
! Set model version | ||
model_version_str='7.0.2' | ||
|
||
! Check command line arguments and handle special cases that have to be printed to stdout | ||
call check_command_line() | ||
|
||
! Set model version | ||
model_version_str='uEMEP_v6.3' | ||
|
||
write(*,*) '' | ||
write(*,*) '------------------------------------------------------------------------' | ||
write(*,*) 'Starting program '//trim(model_version_str) | ||
write(*,*) 'Starting program uEMEP v'//trim(model_version_str) | ||
write(*,*) '------------------------------------------------------------------------' | ||
|
||
! Read the command line, assigning the configuration file names and the substitution date_str | ||
|
@@ -508,5 +507,5 @@ program uEMEP_v6 | |
write(*,'(a,i5,a,i2)') ' CPU time taken (MM:SS): ', floor((end_time_cpu - start_time_cpu)/60.0),':', floor(mod(end_time_cpu - start_time_cpu, 60.0)) | ||
write(*,*) '------------------------------------------------------------------------' | ||
|
||
end program uEMEP_v6 | ||
end program uEMEP | ||
|