-
Notifications
You must be signed in to change notification settings - Fork 19
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
No overwriting of nc4 files! #2638
Comments
Hi Ricardo. Our GCHM (GEOS-CHEM) colleagues have asked for similar. I thought we had enabled this, but have forgotten the details. I know at the low levels there is a switch, but do not know how/if it propagates from History.rc. In the worst case a kludge to the interface should not be too hard. I'm hoping that by "crash" you mean that the model trapped the exception and gave an informative message that it would not overwrite the file? For me that is level-0 and very high priority. |
@rtodling See #2391. We have a global setting in History that allows noclobber. It is an open issue to do it per-collection.
Please let us know if you need this per-collection, in which case we can raise the priority of the other ticket. Closing this one. |
Indeed, as @tclune says, you'd add to the top of history where the other global variables are:
that should allow overwriting of history. But, note it is global so every collection will be allowed to overwrite. |
Hi Guys, thanks for the reply on this. I will add the opt to the history. Many thanks. Ricardo |
@rtodling Warning. This might not be working. I'm reopening this issue. |
@rtodling Can you tell us what version of MAPL you are using? We might need to go back in time and patch this once we know the fix |
Looks like the global option is currently broken. NOAA noticed a problem ... |
@lizziel We found that this capability is broken. Those with better memory than me assert that it did work at one time. Raising the priority - might be a 1st where we have 3 different "customers" complaining about the same thing. |
@tclune, @weiyuan-jiang , here are some details. The error message we got from UFS weather model:
Please let me know if you want to reproduce the case. So far, the atmosphere can write out files with symbolic link.
Then I saw the error message when running the test, and the following in the run directory:
|
Actually, now that I think about it, I think @rtodling is safe. The oddity is occurring because of the broken-symlink style. We are pondering this... |
Related issue: #1620 |
@junwang-noaa We can only replicate that particular error when the symlink itself is broken. But ... there is a different problem that you will hit once you fix that one. The history option This late on Friday this is making my head hurt. On Monday I will work with @bena-nasa to diagram the various cases, what should happen and how to even detect when it should clobber vs append. Sigh. |
All, I made a new issue with summarizes what is going on in much more detail. |
This issue has been automatically marked as stale because it has not had activity in the last 60 days. If there are no updates within 7 days, it will be closed. You can add the ":hourglass: Long Term" label to prevent the stale action from closing this issue. |
Closing in favor of #2653 (which might be fixed? → @bena-nasa ) |
At some point in the past a change was made so that MAPL (or CFIO) would crash if trying the model tried to overwrite an output.
I remember that when I first stumbled on this, I wasn't so convinced w/ the need for this. In response to that, a knob what put in (or the default was changed) to allow for overwrite.
I believe the latest version of MAPL now has it such that overwrite causes the model to crash. Can we revisit this again please? This is a very inconvenient future especially for debugging purposes.
Perhaps there is a flag I can add to AGCM.rc or HISTORY to tell MAPL/CFIO not to bother, is there?
The text was updated successfully, but these errors were encountered: