NOAA-EMC / wgrib2

Provides functionality for interacting with, reading, writing, and manipulating GRIB2 files.
12 stars 8 forks source link

any easy unit tests available? #74

Closed edwardhartnett closed 1 month ago

edwardhartnett commented 6 months ago

We have a working make build.

What commands would be used to run existing test code? We can build these into our CI, and convert these tests to working unit tests...

edwardhartnett commented 6 months ago

Try the grib2_verify directory.

edwardhartnett commented 6 months ago

@webisu there is no grib2_verify directory...

webisu commented 6 months ago

Ed, It's on my workstation: /cpc/home/wd51we/grib2_verify My development code resides on /cpc/home/wd51we/grib2 The dev directory for pywgrib2_s is at /cpc/home/wd51we/.local/lib/python3.6/site-packages Wesley

On Wed, Jan 3, 2024 at 11:13 AM Edward Hartnett @.***> wrote:

@webisu https://github.com/webisu there is no grib2_verify directory...

— Reply to this email directly, view it on GitHub https://github.com/NOAA-EMC/wgrib2/issues/74#issuecomment-1875619178, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEIB7ZRGIC2AEOA4Y4VOSW3YMV7TDAVCNFSM6AAAAABAZ5T25WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGYYTSMJXHA . You are receiving this because you were mentioned.Message ID: @.***>

edwardhartnett commented 6 months ago

Can we check this code into the repo under a tests subdirectory?

edwardhartnett commented 6 months ago

@webisu will provide me with a test script.

edwardhartnett commented 1 month ago

@AlysonStahl-NOAA has made a great deal of progress with this.