-
Notifications
You must be signed in to change notification settings - Fork 6
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
make test data smaller #785
Comments
In the PR #771 I have started to replace the use of demography dataset by the demography_eurostat dataset (which is actually population_session renamed). Is demography used in the unittests? |
I don't remember... |
I temporarily changed the name of demography, ran the tests and found that demography is only used in the However, there is still a weird problem with demography_eurostat.h5. I'll take a look. |
After some tests I discovered that the size of demography_eurostat.h5 is huge because the session contains Axis objects with labels of dtype '<U'. |
can we solve this? |
We need to convert unicode labels to bytes |
…ctory - renamed 'population_session' directory and files as 'demography_eurostat' - made 'demography_eurostat' as new available dataset in function load_example_data() - fix larray-project#785
…ctory - renamed 'population_session' directory and files as 'demography_eurostat' - made 'demography_eurostat' as new available dataset in function load_example_data() - fix larray-project#785
…ctory - renamed 'population_session' directory and files as 'demography_eurostat' - made 'demography_eurostat' as new available dataset in function load_example_data() - fix larray-project#785
…ctory - renamed 'population_session' directory and files as 'demography_eurostat' - made 'demography_eurostat' as new available dataset in function load_example_data() - fix larray-project#785
…ctory - renamed 'population_session' directory and files as 'demography_eurostat' - included values for years 2016 and 2017 for all arrays of 'demography_eurostat' - made 'demography_eurostat' as new available dataset in function load_example_data() - fix larray-project#785 - added the 'Pythonic VS String Syntax' section in the tutorial
- added generate_data.py module to generate the example and test data - renamed 'population_session' dataset as 'demography_eurostat' - included values for years 2016 and 2017 for all arrays of 'demography_eurostat' - fix larray-project#785 - added the 'Pythonic VS String Syntax' section - updated all existing sections to include changes up to the 0.31 release version
- added generate_data.py module to generate the example and test data - renamed 'population_session' dataset as 'demography_eurostat' - included values for years 2016 and 2017 for all arrays of 'demography_eurostat' - fix larray-project#785 - added the 'Pythonic VS String Syntax' section - updated all existing sections to include changes up to the 0.31 release version
- added generate_data.py module to generate the example and test data - renamed 'population_session' dataset as 'demography_eurostat' - included values for years 2016 and 2017 for all arrays of 'demography_eurostat' - fix larray-project#785 - added the 'Pythonic VS String Syntax' section - updated all existing sections to include changes up to the 0.31 release version
For a reason which escapes me, population_session.h5 is 3Mb (while the same data in .xlsx is 11.8Kb) and demography.* are a bit large too, making the total size of the larray package larger than I would prefer.
The text was updated successfully, but these errors were encountered: