You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NetCDF files used in tests/slow are stored in the repo (tests/data), both in original and reduced form. This is not ideal as they make the repo unnecessarily big, and git doesn't handle binary files very well (AFAIK). They should instead be stored somewhere and fetched before running the tests (e.g., with a get_test_data.sh script).
As only the reduced files are used in the tests, as a first step only the original files could be moved out of the repo, which would not necessitate any changes to the tests.
Once moved out, the repo could be cleansed of the binary files still in it's history in order to reduce the size of the repo. However, this should be done with care, as it would break the tests for old revisions (the data would have to be fetched manually or by checking out the get_test_data.sh script from a new revision. Alternatively, a new repo could be created that starts w/o test data and the current repo could be archived.
The text was updated successfully, but these errors were encountered:
At CSCS, I copied the NetCDF files to /store/mch/msopr/pyflexplot_testdata.
I added a test case for an extra-large cloud passing over the date line from both sides in /store/mch/msopr/pyflexplot_testdata/ifs-hres, however this could be removed again as a respective test case has been added as fast test by @ruestefa .
Once the data files have been moved out, this would be a good approach to cleanly separate the old (with data files) from the present-and-future state (w/o data files) w/o losing access to the git history if necessary. This wouldn't even necessitate removing the data files from history (unless the "history" version of the repo is deemed too big, that is), since the new repo would start with a clean slate.
Description
NetCDF files used in
tests/slow
are stored in the repo (tests/data
), both in original and reduced form. This is not ideal as they make the repo unnecessarily big, and git doesn't handle binary files very well (AFAIK). They should instead be stored somewhere and fetched before running the tests (e.g., with aget_test_data.sh
script).As only the reduced files are used in the tests, as a first step only the original files could be moved out of the repo, which would not necessitate any changes to the tests.
Once moved out, the repo could be cleansed of the binary files still in it's history in order to reduce the size of the repo. However, this should be done with care, as it would break the tests for old revisions (the data would have to be fetched manually or by checking out the
get_test_data.sh
script from a new revision. Alternatively, a new repo could be created that starts w/o test data and the current repo could be archived.The text was updated successfully, but these errors were encountered: