-
Notifications
You must be signed in to change notification settings - Fork 303
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
RuntimeError while compositing after resampling datasets #2909
Comments
Did you notice this error?
I'm pretty certain that the NetCDF access error is coming because the download failed but for some reason the processing still continued. When Rayleigh corrector is then trying to access the file when computation is triggered in Also, you should not be doing this as |
Ah, now I see. Do not re-use the resampled_scn = scn.resample(scn.finest_area(), resampler='native') # Succeed if I delete this code, same to other composites
resampled_scn.save_dataset('true_color', filename=f'{satellite_name}_true_color.png') EDIT: The explanation is that by overwriting |
I succeed after changing the variable name. Very thanks to your advice! |
Ok, closing as it now works 👍 |
Describe the bug
I got
RuntimeError: NetCDF: Not a valid ID
while executingscn.save_dataset
, and this error only occurred in MTG dataTo Reproduce
Expected behavior
Save a true color image.
Actual results
Screenshots
If applicable, add screenshots to help explain your problem.
Environment Info:
The text was updated successfully, but these errors were encountered: