Skip to content

Commit

Permalink
Merge pull request #921 from metno/fix920
Browse files Browse the repository at this point in the history
Fix plugins for ICOS and mmr vs vmr issue
  • Loading branch information
lewisblake authored Oct 10, 2023
2 parents ff8fd9c + d7fde8f commit f36b9f0
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 3 deletions.
5 changes: 5 additions & 0 deletions pyaerocom/aeroval/glob_defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@
"scale": [100.0, 125.0, 150.0, 175.0, 200.0, 225.0, 250.0, 275.0, 300.0],
"colmap": "coolwarm",
},
"vmrco2": {
"scale": [400.0, 405.0, 410.0, 415.0, 420.0, 425.0, 430.0, 435.0, 440.0, 445.0, 450.0],
"colmap": "coolwarm",
},
"concco": {
"scale": [100.0, 125.0, 150.0, 175.0, 200.0, 225.0, 250.0, 275.0, 300.0],
"colmap": "coolwarm",
Expand Down Expand Up @@ -353,6 +357,7 @@
vmrox=["OX", "3D", "Gas volume mixing ratio"],
concco=["CO", "3D", "Particle concentration"],
vmrco=["CO", "3D", "Volume mixing ratios"],
vmrco2=["CO2", "3D", "Volume mixing ratios"],
# PMs
concpm10=["PM10", "3D", "Particle concentrations"],
concpm25=["PM2.5", "3D", "Particle concentrations"],
Expand Down
4 changes: 2 additions & 2 deletions pyaerocom/data/variables.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3060,9 +3060,9 @@ var_name = vmrco2
description = CO2 Volume Mixing Ratio
standard_name = mole_fraction_of_carbon_dioxide_in_air
var_type = volume mixing ratios
unit = nmol mol-1
unit = ppm
minimum = 0
maximum = 100000000
maximum = 1000
dimensions = time,lat,lon

[vmrhno3]
Expand Down
1 change: 1 addition & 0 deletions pyaerocom/molmasses.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"glyoxal": 58.036,
"glyox": 58.036,
"hcho": 30.026,
"co2": 44.0095,
}


Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ ReadMscwCtm = "pyaerocom.plugins.mscw_ctm.reader:ReadMscwCtm"
ReadGAW = "pyaerocom.plugins.gaw.reader:ReadGAW"
ReadGhost = "pyaerocom.plugins.ghost.reader:ReadGhost"
ReadMEP = "pyaerocom.plugins.mep.reader:ReadMEP"
ReadICOS = "pyaerocom.plugins.icos.reader:ReadICOS"

[tool.flit.sdist]
include = ["LICENSE", "README.*", "pyaerocom_env.yml", "tests"]
Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/test_entry_points.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ def test_gridded():
def test_ungridded():
names = {ep.name for ep in metadata.entry_points(group="pyaerocom.ungridded")}
assert names, "no entry points found"
assert names == {"ReadGAW", "ReadGhost", "ReadMEP"}
assert names == {"ReadGAW", "ReadGhost", "ReadMEP", "ReadICOS"}

0 comments on commit f36b9f0

Please sign in to comment.