Skip to content
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

Closed
wants to merge 10 commits into from

Conversation

AlysonStahl-NOAA
Copy link

Part of #324

echo "*** Running tocgrib2 without input/output defined. Should return STOP 10"
unset FORT11
unset FORT51
../src/tocgrib2/tocgrib2 && exit 1
Copy link
Contributor

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
Copy link
Contributor

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...

Copy link
Author

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.

@edwardhartnett
Copy link
Contributor

This is part of #336

I will close this PR.

@AlysonStahl-NOAA AlysonStahl-NOAA deleted the as_tocgrib2 branch May 28, 2024 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants