-
Notifications
You must be signed in to change notification settings - Fork 6
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
Problem handling files with 0 timesteps #7
Comments
I can't reproduce this:
|
Same for
|
You didn't use the paranoid option. The error is with the cdo diffn step. |
Oh right, thanks |
I don't think there is anything that can be done here. If the user asks for In that case, if the error output is suppressed then the user has no way of knowing why the files seemingly don't match. |
Could do more checks in the file input stage, but what checks? There are multiple ways a file could not be compatible, e.g. no variables, do we want to check them all? |
I've ran this command:
nccompress -r -pa -p --nccopy -o /g/data3/hh5/tmp/LIS-WRF-CABLE/Jason
and got a lot of long error messages:It turns out this happens when the netcdf file only has a header and not data (0 timesteps):
It'd be good to add better handling of this case with a simple skipping message rather than tons of error outputs. And retrying to compress etc. And also, it shouldn't stop removing the tmp.nc_compress/ directory.
The text was updated successfully, but these errors were encountered: