-
Notifications
You must be signed in to change notification settings - Fork 11
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
Testing for tocgrib2 #326
Testing for tocgrib2 #326
Conversation
echo "*** Running tocgrib2 without input/output defined. Should return STOP 10" | ||
unset FORT11 | ||
unset FORT51 | ||
../src/tocgrib2/tocgrib2 && exit 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check that the return code is 10.
echo "*** Running tocgrib2 with input/output defined." | ||
export FORT11="data/ref_gdaswave.t00z.wcoast.0p16.f000.grib2" | ||
export FORT51=out.grib2 | ||
../src/tocgrib2/tocgrib2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check that an output file was produced.
How shall we confirm it was the correct output? We may have to circle back around after we figure that out, and make this test check results...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll give you a more detailed update later, but I've yet to be able to successfully produce any output either on my local machine or on the CI.
Once I solve that problem I'll start by just comparing an inventory against a reference file. As for checking if the output is actually correct, I'm not sure.
This is part of #336 I will close this PR. |
Part of #324