-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while regridding sic for BCC model #151
Comments
It looks like it's failing because the
@zklaus @jvegasbsc Do you have any ideas on how to solve this? |
You are right that that is most likely the problem. The thing is that the At this point, I gave up on bcc data when I was looking into it myself. If you are determined to solve this, it might be not too difficult: You have to track down the bounds information and write a fix file for ocean and seaice variables. If somebody finds the bounds or the gridspec file, I, @sloosvel, or @jvegasbsc can help with the writing of the fix file. Heads up for the core team: Preliminary checks suggest the situation as not changed appreciably in CMIP6. |
Does this fix help? |
Oh yeah, I forgot about that. We discussed this before. Yes, yes it does. @schlunma, could you modify it so that it automatically applies to all ocean and seaice variables? |
Not really, I have no clue which variable are affected. As far as I know you have to specify all of them individually in the fix. The only possibility would be in |
@jvegasbsc, can we put this in all_vars and check for the mip? For cmip5 it should apply to all variables from the tables |
This is what |
@schlunma are you up for it? |
I'm working on another branch right now, so not now, sorry 😬 |
@jvegasbsc Shouldn't missing bounds be detected by a CMOR check already, instead of failing at regridding? |
Making it an error will be to strict: most of the times we don't need them. A warning will be nice, though. |
yes, for some reason the oceans data is special - I can confirm that the ESGF version of the data is also missing bounds:
Guessing bounds with
The fix by Javi and pointed out by Manu works really well, I have just tested it with the ESGF |
Hi!
I am trying to regrid 'sic' variable to 1x1 in order to have a regular
grid with longitudes and latitudes, so the same script can work with
atmospheric or ice variables.
I did it in the past and it worked with BCC data. Now, I found the
following errors:
"/home/users/nperez/miniconda3/envs/esmvaltool/lib/python3.7/multiprocessing/pool.py",
line 657, in get
raise self._value
TypeError: 'NoneType' object is not subscriptable
If I remove the regrid option, I found different error
360, 'start_latitude': 50, 'end_latitude': 90})
....
"/home/users/nperez/miniconda3/envs/esmvaltool/lib/python3.7/multiprocessing/pool.py",
line 657, in get
raise self._value
ValueError: The truth value of an array with more than one
element is ambiguous. Use a.any() or a.all()
The data is on Jasmin. Using CNRM-CM5 data this error doesn't appear, so I keep testing with CNRM-CM5 data.
main_log_debug.txt
recipe_modes_of_variability.txt
Cheers, Núria
The text was updated successfully, but these errors were encountered: