-
Notifications
You must be signed in to change notification settings - Fork 7
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
[BUG] Random netCDF errors #226
Comments
This relates to thread safety and netCDF. Following issues/discussions are relevant: https://forum.access-hive.org.au/t/netcdf-not-a-valid-id-errors/389/22 |
The installed version of netCDF4 was 1.6.5. Based on above linked discussions, found downgrading it to 1.6.0 to work. No more errors! pip install -U netCDF4==1.6.0 Will have to revisit the thread-safety issue of current implementation for newer versions that are not as lenient. |
This likely relates to #183. Pinpointing the actual issue is no fun. Above linked discussions mention the removal of some workarounds to get past threading issues. So, any threading/multiprocessing issues in code are likely surfacing with the removal of these workarounds. At some point will need to try and debug the root cause. |
Looks like above error is different to what I'd initially thought. This error occurs when writing to netCDF file. Whereas, with Ryan's #183 happens when reading. I do get the same error as Ryan when reading with newer versions of netCDF4 too. For this issue, the xarray docs mention the following:
|
Good to see the investigation, but not worth considering this a priority at present. More than happy to prioritise it for a more general purpose release: it might be that we have to bootstrap some test installations with different system setups to pinpoint the issues, as I suspect it's a compatibility needle in a haystack. Defer to |
Description
Running
icenet_output
on an ensemble run most often causes random netCDF output error.What I Did
This runs the following command from the
icenet
library which causes the issue:The forecast dates for which it causes this issue is random.
The error:
The text was updated successfully, but these errors were encountered: