Skip to content
Snippets Groups Projects
Commit 99bb2247 authored by benoit-cty's avatar benoit-cty
Browse files

tp instead t2m

parent f9c35e3b
No related branches found
No related tags found
1 merge request!52Prepare prod
......@@ -91,7 +91,7 @@ def handle_new_file_format(disk_url, temp_dir):
nc_dataset = xr.open_dataset(file, engine="netcdf4")
found = False
try:
_ = nc_dataset["t2m"].values[0][0][0]
_ = nc_dataset["tp"].values[0][0][0]
shutil.move(file, disk_url)
if found:
raise ValueError(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment