Skip to content

Commit

Permalink
Merge pull request #1297 from metno/emep-tropomi-2024-2
Browse files Browse the repository at this point in the history
EMEP vs. TROPOMI 2024
  • Loading branch information
lewisblake authored Aug 2, 2024
2 parents 22089d8 + ab90b0f commit a686a3f
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 6 deletions.
3 changes: 3 additions & 0 deletions pyaerocom/aeroval/data/var_scale_colmap.ini
Original file line number Diff line number Diff line change
Expand Up @@ -438,3 +438,6 @@ colmap = coolwarm
scale = [0.0, 0.004, 0.008, 0.012, 0.016, 0.02, 0.04, 0.06, 0.08, 0.1, 0.2, 0.3, 0.4]
colmap = coolwarm

[vcdno2]
scale = [0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120]
colmap = coolwarm
5 changes: 5 additions & 0 deletions pyaerocom/aeroval/data/var_web_info.ini
Original file line number Diff line number Diff line change
Expand Up @@ -802,3 +802,8 @@ menu_name = ratio PM10 PM2.5
vertical_type = 3D
category = Particle ratio

# Vertical column densities
[vcdno2]
menu_name = xNO2
vertical_type = 3D
category = Vertical column density
1 change: 1 addition & 0 deletions pyaerocom/aeroval/glob_defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ class CategoryType(str, Enum):
deposition = "Deposition"
temperature = "Temperature"
particle_ratio = "Particle ratio"
vertical_column_density = "Vertical column density"
UNDEFINED = "UNDEFINED"

def __str__(self):
Expand Down
15 changes: 13 additions & 2 deletions pyaerocom/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ class Config:
#: ICOS name
ICOS_NAME = "ICOS"

# TROPOMI access names
TROPOMI_XEMEP_R01x01_NAME = "TROPOMI_XEMEP_R01x01"

#: boolean specifying wheter EBAS DB is copied to local cache for faster
#: access, defaults to True
EBAS_DB_LOCAL_CACHE = True
Expand Down Expand Up @@ -185,7 +188,11 @@ class Config:

# this dictionary links environment ID's with corresponding subdirectory
# names that are required to exist in order to load this environment
_check_subdirs_cfg = {"metno": "aerocom", "users-db": "AMAP", "local-db": "modeldata"}
_check_subdirs_cfg = {
"metno": "aerocom",
"users-db": "AMAP",
"local-db": "modeldata",
}

with resources.path("pyaerocom.data", "variables.ini") as path:
_var_info_file = str(path)
Expand Down Expand Up @@ -751,7 +758,11 @@ def reload(self, keep_basedirs=True):
self.read_config(self.last_config_file, keep_basedirs)

def read_config(
self, config_file, basedir=None, init_obslocs_ungridded=False, init_data_search_dirs=False
self,
config_file,
basedir=None,
init_obslocs_ungridded=False,
init_data_search_dirs=False,
):
"""
Import paths from one of the config ini files
Expand Down
6 changes: 5 additions & 1 deletion pyaerocom/data/paths.ini
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ ICOS = ${BASEDIR}/aerocom/aerocom1/AEROCOM_OBSDATA/ICOS/aggregated/
#ICPFORESTS = /lustre/storeB/project/fou/kl/emep/People/danielh/projects/pyaerocom/obs/ICP-forests/dep/
ICPFORESTS = ${BASEDIR}/aerocom/aerocom1/AEROCOM_OBSDATA/icp-forests/dep/

TROPOMI_XEMEP_R01x01=/lustre/storeB/project/fou/kl/sesam/work/CSO-gridded/xEMEP__r01x01/data/

[obsnames]
#names of the different obs networks
#Aeronet V3
Expand Down Expand Up @@ -137,6 +139,7 @@ CNEMC = CNEMC
ICOS = ICOS

ICPFORESTS = ICPFORESTS
TROPOMI_XEMEP_R01x01 = TROPOMI_XEMEP_R01x01

[parameters]
#parameters definition
Expand Down Expand Up @@ -174,4 +177,5 @@ EARLINET = 2000
EEA_NRT = 2020
EEA_V2 = 2016
MEP = 2013
ICOS = 2008
ICOS = 2008
TROPOMI_XEMEP_R01x01 = 2018
13 changes: 10 additions & 3 deletions pyaerocom/data/variables.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5968,9 +5968,16 @@ unit = ug m-3
description=Mass concentration of coarse elemental carbon
unit = ug C m-3x




[conclevoglucosan]
description=Mass concentration of Levoglucosan
unit = ug m-3

[vcdno2]
var_name = vcdno2
description = Vertical Column Density NO2
standard_name = troposphere_mole_content_of_nitrogen_dioxide
var_type = vertical column density
unit = umol m-2
minimum = 0
maximum = 100000
dimensions = time,lat,lon

0 comments on commit a686a3f

Please sign in to comment.