openradar / PyDDA

Pythonic multiple doppler code based off the 3D variational technique
http://openradarscience.org/PyDDA
Other
91 stars 44 forks source link

Unit test for HRRR constraint. #33

Open rcjackson opened 5 years ago

rcjackson commented 5 years ago

Travis CI's 4 GB memory limit prohibits unit testing of the HRRR constraint as a part of the CI. For now I do unit testing using the Hurricane Florence example as a manual pytest on my local machine, but there needs to be a way to test this constraint on Travis CI, especially since cfgrib updated its syntax for loading GRIB files recently.

rcjackson commented 5 years ago

The model constraint is now tested using a fake dataset where U = 1 m/s everywhere. This at least shows us that the model contstraint is working correctly, but the part where the HRRR grid is converted to a Py-ART grid still needs a test.