-
Notifications
You must be signed in to change notification settings - Fork 168
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
Update dependency check for ice netcdf file for GEFS #2721
Comments
Issue #2674 creates some complications in the ice_prod dependencies which led me to create this script. The reason why I got rid of the For example, let's say that |
Here is the discussion we had about this in the PR: #2561 (comment) |
@aerorahul I am creating a branch to restore the rocoto The first option is to submit a PR that only restores the rocoto The second option is to submit one PR that fixes this issue and issue #2674. Do you have a preference? |
I think we can wait for the second option to be available. |
Note, ush/check_netcdf.sh needs to be removed from the dependencies of the ocean_prod tasks also. @aerorahul Do you want a new issue or combine with this one? |
I have been working on a branch that is intended to resolve this issue. |
# Description The main purpose of this PR is to remove the need for an ice_prod dependency check script `ush/check_ice_netcdf.sh`. The original purpose of the ice_prod dependency check script is to check for special case dependencies where `( cyc + FHMIN ) % FHOUT_ICE )) =! 0` (more details on this issue can be found in issue #2674 ). A bugfix for these special cases is expected to come from a PR in the ufs-weather-model. Resolves #2721 Refs #2721, #2674
What is wrong?
#2561 introduced a dependency check for ice netcdf file for GEFS via the use of this script. Rocoto provides an option for checking if the file exists together with the age of the file and should be utilized instead of this script.
What should have happened?
Use Rocoto
<datadep age=120>
to check if the file exists and is older than 2 mins, instead of calling a script via<sh>
command.What machines are impacted?
All or N/A
Steps to reproduce
Create the xml and look at the gefs ice product dependency section.
Additional information
None
Do you have a proposed solution?
Use Rocoto's
datadep
tag to check for dependencies.The text was updated successfully, but these errors were encountered: