You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As e3sm_to_cmip is designed to accept a list of variables to cmorize, the default behavior was to continue onward even if a variable failed, and eventually return a 0 status. This would prevent a calling process from knowing to exit itself when e3sm_to_cmip failed for a cmorizing failure.
At minimum, the app needs to return non-zero if any variable failed, Optionally, a flag to force an exit when any variable failed.
Describe the solution you'd like
One or two optional command line flags:
error-on-var-failure: Ensure a non-zero status is returned after all variables are processed, if any one of them failed.
exit-on-var-failure: Force application to exit ASAP when any variable failure is encountered.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem?
As e3sm_to_cmip is designed to accept a list of variables to cmorize, the default behavior was to continue onward even if a variable failed, and eventually return a 0 status. This would prevent a calling process from knowing to exit itself when e3sm_to_cmip failed for a cmorizing failure.
At minimum, the app needs to return non-zero if any variable failed, Optionally, a flag to force an exit when any variable failed.
Describe the solution you'd like
One or two optional command line flags:
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: