Skip to content

Commit

Permalink
duplicate info in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
heikoklein committed Sep 12, 2024
1 parent 3c92606 commit 4a7bece
Showing 1 changed file with 83 additions and 10 deletions.
93 changes: 83 additions & 10 deletions tests/io/test_ebas_varinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,15 @@
None,
1.0,
),
("ac550dryaer", None, None, ["filter_absorption_photometer"], None, ["ac550aer", "acrh"], 1),
(
"ac550dryaer",
None,
None,
["filter_absorption_photometer"],
None,
["ac550aer", "acrh"],
1,
),
(
"ac550lt1aer",
["aerosol_absorption_coefficient"],
Expand Down Expand Up @@ -115,8 +123,24 @@
("concso2", ["sulphur_dioxide"], ["air"], None, None, None, 1.0),
("concpm10", ["pm10_mass"], ["pm10"], None, None, None, 1.0),
("concpm25", ["pm25_mass"], ["pm25"], None, None, None, 1.0),
("concso4t", ["sulphate_total"], ["aerosol", "pm10", "pm25"], None, None, None, 1.0),
("concso4c", ["sulphate_corrected"], ["aerosol", "pm10", "pm25"], None, None, None, 1.0),
(
"concso4t",
["sulphate_total"],
["aerosol", "pm10", "pm25"],
None,
None,
None,
1.0,
),
(
"concso4c",
["sulphate_corrected"],
["aerosol", "pm10", "pm25"],
None,
None,
None,
1.0,
),
(
"concbc",
["elemental_carbon"],
Expand All @@ -136,7 +160,7 @@
"lvs_single_twin",
"lvs_teflon",
],
None,
["arithmetic mean", "median"],
None,
1.0,
),
Expand All @@ -149,19 +173,67 @@
None,
1,
),
("conctc", ["total_carbon"], ["pm25", "pm10", "aerosol"], None, None, None, 1.0),
("concoa", ["organic_carbon"], ["pm25", "pm10", "aerosol", "pm1"], None, None, None, 1.4),
("concoc", ["organic_carbon"], ["pm25", "pm10", "aerosol", "pm1"], None, None, None, 1),
("concss", ["sodium"], ["pm10", "aerosol", "pm25", "pm1", "air"], None, None, None, 3.27),
(
"conctc",
["total_carbon"],
["pm25", "pm10", "aerosol"],
None,
["arithmetic mean", "median"],
None,
1.0,
),
(
"concoa",
["organic_carbon"],
["pm25", "pm10", "aerosol", "pm1"],
None,
["arithmetic mean", "median"],
None,
1.4,
),
(
"concoc",
["organic_carbon"],
["pm25", "pm10", "aerosol", "pm1"],
None,
["arithmetic mean", "median"],
None,
1,
),
(
"concss",
["sodium"],
["pm10", "aerosol", "pm25", "pm1", "air"],
None,
None,
None,
3.27,
),
("concnh3", ["ammonia"], ["air"], None, None, None, 1.0),
("concno3", ["nitrate"], ["pm10", "aerosol", "pm25"], None, None, None, 1.0),
("concnh4", ["ammonium"], ["pm10", "aerosol", "pm25"], None, None, None, 1.0),
("concNhno3", ["nitric_acid"], ["air"], None, None, None, 1.0),
("concNtno3", ["sum_nitric_acid_and_nitrate"], ["air+aerosol"], None, None, None, 1.0),
(
"concNtno3",
["sum_nitric_acid_and_nitrate"],
["air+aerosol"],
None,
None,
None,
1.0,
),
("concno2", ["nitrogen_dioxide"], ["air"], None, None, None, 1.0),
("conco3", ["ozone"], ["air"], None, None, None, 1),
("concco", ["carbon_monoxide"], ["air"], None, None, None, 1.0),
("concprcpoxs", ["sulphate_corrected", "sulphate_total"], ["precip"], None, None, None, 1.0),
(
"concprcpoxs",
["sulphate_corrected", "sulphate_total"],
["precip"],
None,
None,
None,
1.0,
),
("concprcpoxn", ["nitrate"], ["precip"], None, None, None, 1.0),
("concprcprdn", ["ammonium"], ["precip"], None, None, None, 1.0),
("wetoxs", None, None, None, None, ["concprcpoxs"], 1),
Expand Down Expand Up @@ -221,6 +293,7 @@ def test_varinfo(
assert info.component == component
assert info.matrix == matrix
assert info.instrument == instrument
print(info.statistics, statistics, info.statistics == statistics)
assert info.statistics == statistics
assert info.requires == requires
assert info.scale_factor == scale_factor
Expand Down

0 comments on commit 4a7bece

Please sign in to comment.