Commit 019c4880 authored by Antoine Berchet's avatar Antoine Berchet
Browse files

Fix nlev in CAMS concentration fields

parent ec61e568
......@@ -64,7 +64,7 @@ def get_domain(ref_dir, ref_file, input_dates, target_dir, tracer=None):
sigma_a = nc["hyam"].values
sigma_b = nc["hybm"].values
nlevs = sigma_a.size
# Initializes domain
setup = Setup.from_dict(
{
......@@ -81,8 +81,8 @@ def get_domain(ref_dir, ref_file, input_dates, target_dir, tracer=None):
"nlon": nlon,
"nlat": nlat,
"nlev": nlevs,
"sigma_a": sigma_a[1:],
"sigma_b": sigma_b[1:],
"sigma_a": sigma_a,
"sigma_b": sigma_b,
"pressure_unit": "Pa"
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment