You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run python pyaeroval_config.py, it stopped after +/2 minutes.
In pyaeroval_config.py, regridding for MODIS was defined with a dictionary :
regrid_res_deg={ # Regridding of the data
"lat_res_deg": 5,
"lon_res_deg": 5,
}
However, when running there was an error message (see below) that regrid_res_deg should just be a float.
Describe the bug
Pyaerocom version:
Computing platform: ppi
Error message:
pydantic_core._pydantic_core.ValidationError: 1 validation error for ColocationSetup
regrid_res_deg
Input should be a valid number [type=float_type, input_value={'lat_res_deg': 5, 'lon_res_deg': 5}, input_type=dict]
Configuration file (pyaeroval_config.py):
MODIS = dict(
obs_id="MODIS6.1terra.DT.DP.mean", # Observation ID of know network
web_interface_name="Modis", # Name that is displayed on the webpage
obs_vars=["od550aer"], # List of variables that is to be evaluated
obs_vert_type="Column", # Observation level
regrid_res_deg={ # Regridding of the data
"lat_res_deg": 5,
"lon_res_deg": 5,
},
ts_type="daily", # Frequency of read observations. Evaluation can not be finer than this, for this network
)
Additional context
I have done two tests (one with commenting out regrid_res_deg, and one with setting regrid_res_deg=5 in pyaeroval_config.py), and in both cases it then worked well.
The text was updated successfully, but these errors were encountered:
General
Describe the bug
To Reproduce
Additional context
I have done two tests (one with commenting out regrid_res_deg, and one with setting regrid_res_deg=5 in pyaeroval_config.py), and in both cases it then worked well.
The text was updated successfully, but these errors were encountered: