From cc374bc61473b3be4a9aa82e8267fd12d31ed621 Mon Sep 17 00:00:00 2001 From: mguevara Date: Fri, 9 Nov 2018 11:34:36 +0100 Subject: [PATCH 1/3] Edited README.md file --- README.md | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b393f1f..03a4695 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,25 @@ -# HERMESv3 Global/Regional +# HERMESv3_GR - High-Elective Resolution Modelling Emission System version 3 – Global_Regional [![Codacy Badge](https://api.codacy.com/project/badge/Grade/34fc5d6c803444178034b99dd28c7e3c)](https://www.codacy.com/app/carlestena/hermesv3_gr?utm_source=earth.bsc.es&utm_medium=referral&utm_content=gitlab/es/hermesv3_gr&utm_campaign=Badge_Grade) + +HERMESv3_GR is a highly customizable emission processing system that calculates emissions from different sources, regions and pollutants over a user-specified global or regional model grid and fulfills the requirements of several CTMs. + +The main characteristics of HERMESv3_GR are as follows: +- User-defined grid and choice between different map projections: Emissions can be computed on any global or regional domain with a regular lat-lon, rotated lat-lon, mercator or lambert conformal conic projection. +- Choice between different emission inventories: the emission data library of HERMESv3_GR includes current state-of-the-art global and regional inventories that cover different sources (anthropogenic, biomass burning, volcanoes), pollutants (ozone precursor gases, acidifying gases and primary particulates) and base years (past, present and future). Moreover, country-specific scaling and masking factors defined by the user can be applied to the base inventories in order to combine and adjust them. +- Choice between different vertical, temporal and speciation profiles: HERMESv3_GR includes a dataset of profiles reported by the literature, but it also allows the user to add its own weight factors for any pollutant sector and specie. Additionally, the model is able to combine base inventories with gridded temporal profiles, which can be of importance for those pollutant sectors whose temporal variation is not uniform across the space due to local influences (e.g. residential combustion emissions and temperature). +- Choice between different CTMs: The generated emission files can be used as input for the CMAQ, WRF-CHEM and NMMB-MONARCH chemical transport models. +- Choice between different chemical mechanisms: base pollutants can be mapped to several gas-phase and aerosol chemical mechanism, including CB05, CB05e51, RADM2, AERO5, AERO6 and MADE/SORGAM. All these mechanisms are widely used in the air quality modelling community. +- Parallel implementation: The emission core module of HERMESv3_GR is parallelized using a map partitioning strategy, which allows decreasing the execution time and memory consumption of the model. This feature can be of importance when using the model in operational air quality forecasting systems, for which the simulations need to be completed within the required time constraints. + +## Availability + +HERMESv3_GR is distributed free of charge under the licence [GNU GPL v3.0](https://www.gnu.org/licenses/quick-guide-gplv3.html). + +## Citing + +Guevara, M., Tena, C., Porquet, M., Jorba, O., Pérez García-Pando, C., 2018. HERMESv3_GR: A stand-alone multiscale emission processing system. Extended abstract of the 17th Annual CMAS Conference, Chapell Hill, NC, October 22-24. + +## Support + +Due to our limited time and resources, the developing team can not guarantee a regular support. Nevertheless, we will be happy to provide advice for new users. +Questions should be send to [Marc Guevara](marc.guevara@bsc.es) and [Carles Tena](carles.tena@bsc.es) \ No newline at end of file -- GitLab From 0ba5377a29bac6ead748884e6ad1f06d42bbda54 Mon Sep 17 00:00:00 2001 From: mguevara Date: Fri, 9 Nov 2018 11:38:22 +0100 Subject: [PATCH 2/3] Edited README.md file --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 03a4695..4aa2182 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,8 @@ The main characteristics of HERMESv3_GR are as follows: - Choice between different chemical mechanisms: base pollutants can be mapped to several gas-phase and aerosol chemical mechanism, including CB05, CB05e51, RADM2, AERO5, AERO6 and MADE/SORGAM. All these mechanisms are widely used in the air quality modelling community. - Parallel implementation: The emission core module of HERMESv3_GR is parallelized using a map partitioning strategy, which allows decreasing the execution time and memory consumption of the model. This feature can be of importance when using the model in operational air quality forecasting systems, for which the simulations need to be completed within the required time constraints. +HERMESv3_GR is an in-house model fully developed by the [Barcelona Supercomputing Center](https://www.bsc.es/). + ## Availability HERMESv3_GR is distributed free of charge under the licence [GNU GPL v3.0](https://www.gnu.org/licenses/quick-guide-gplv3.html). -- GitLab From 2c9de82f04d5649e5f4a1399e90f5f6615076fe7 Mon Sep 17 00:00:00 2001 From: Carles Tena Date: Fri, 30 Nov 2018 11:29:23 +0100 Subject: [PATCH 3/3] BUg corrected --- hermesv3_gr/modules/writing/writer_monarch.py | 4 ++-- run_test.py | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/hermesv3_gr/modules/writing/writer_monarch.py b/hermesv3_gr/modules/writing/writer_monarch.py index 3321b06..e501926 100644 --- a/hermesv3_gr/modules/writing/writer_monarch.py +++ b/hermesv3_gr/modules/writing/writer_monarch.py @@ -369,8 +369,8 @@ class WriterMonarch(Writer): # Rotated pole mapping = netcdf.createVariable('rotated_pole', 'c') mapping.grid_mapping_name = 'rotated_latitude_longitude' - mapping.grid_north_pole_latitude = self.grid.new_pole_latitude_degrees - mapping.grid_north_pole_longitude = 90 - self.grid.new_pole_longitude_degrees + mapping.grid_north_pole_latitude = 90 - self.grid.new_pole_latitude_degrees + mapping.grid_north_pole_longitude = self.grid.new_pole_longitude_degrees elif LambertConformalConic: # CRS mapping = netcdf.createVariable('Lambert_conformal', 'i') diff --git a/run_test.py b/run_test.py index 6eb2926..711c425 100644 --- a/run_test.py +++ b/run_test.py @@ -1,4 +1,22 @@ +#!/usr/bin/env python # coding=utf-8 + +# Copyright 2018 Earth Sciences Department, BSC-CNS +# +# This file is part of HERMESv3_GR. +# +# HERMESv3_GR is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# HERMESv3_GR is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with HERMESv3_GR. If not, see . """Script to run the tests for EarthDiagnostics and generate the code coverage report""" import os -- GitLab