Skip to content

Commit

Permalink
test fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
garciampred committed Aug 14, 2024
1 parent 538615f commit 8cd928c
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 49 deletions.
96 changes: 48 additions & 48 deletions tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,55 +20,55 @@
@pytest.mark.parametrize(
"dataset_name,source,test_update",
[
# (
# "insitu-observations-woudc-ozone-total-column-and-profiles",
# "OzoneSonde",
# False,
# ),
# (
# "insitu-observations-woudc-ozone-total-column-and-profiles",
# "TotalOzone",
# False,
# ),
# ("insitu-observations-igra-baseline-network", "IGRA", False),
# ("insitu-observations-igra-baseline-network", "IGRA_H", False),
(
"insitu-observations-woudc-ozone-total-column-and-profiles",
"OzoneSonde",
False,
),
(
"insitu-observations-woudc-ozone-total-column-and-profiles",
"TotalOzone",
False,
),
("insitu-observations-igra-baseline-network", "IGRA", False),
("insitu-observations-igra-baseline-network", "IGRA_H", False),
("insitu-comprehensive-upper-air-observation-network", "CUON", False),
# ("insitu-observations-gruan-reference-network", "GRUAN", False),
# (
# "insitu-observations-near-surface-temperature-us-climate-reference-network",
# "uscrn_subhourly",
# False,
# ),
# (
# "insitu-observations-near-surface-temperature-us-climate-reference-network",
# "uscrn_hourly",
# False,
# ),
# (
# "insitu-observations-near-surface-temperature-us-climate-reference-network",
# "uscrn_daily",
# False,
# ),
# (
# "insitu-observations-near-surface-temperature-us-climate-reference-network",
# "uscrn_monthly",
# False,
# ),
# (
# "insitu-observations-gnss",
# "IGS",
# False,
# ),
# (
# "insitu-observations-gnss",
# "EPN",
# False,
# ),
# (
# "insitu-observations-gnss",
# "IGS_R3",
# False,
# ),
("insitu-observations-gruan-reference-network", "GRUAN", False),
(
"insitu-observations-near-surface-temperature-us-climate-reference-network",
"uscrn_subhourly",
False,
),
(
"insitu-observations-near-surface-temperature-us-climate-reference-network",
"uscrn_hourly",
False,
),
(
"insitu-observations-near-surface-temperature-us-climate-reference-network",
"uscrn_daily",
False,
),
(
"insitu-observations-near-surface-temperature-us-climate-reference-network",
"uscrn_monthly",
False,
),
(
"insitu-observations-gnss",
"IGS",
False,
),
(
"insitu-observations-gnss",
"EPN",
False,
),
(
"insitu-observations-gnss",
"IGS_R3",
False,
),
],
)
def test_run_ingestion_pipeline(
Expand Down
2 changes: 1 addition & 1 deletion tests/test_read_cuon.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def test_read_cuon(test_config):
dataset_name = "insitu-comprehensive-upper-air-observation-network"
dataset_config = [d for d in test_config.datasets if d.name == dataset_name][0]
service_definition = get_service_definition(dataset_name)
time_space_batch = TimeSpaceBatch(TimeBatch(1957, 5))
time_space_batch = TimeSpaceBatch(TimeBatch(1958, 8))
os.environ["CADSOBS_AVOID_MULTIPROCESS"] = "True"
cuon_data = read_cuon_netcdfs(
dataset_name,
Expand Down

0 comments on commit 8cd928c

Please sign in to comment.