edgi-govdata-archiving / ECHO-Cross-Program

Jupyter Notebooks for ECHO that use data from multiple EPA programs
https://colab.research.google.com/github/edgi-govdata-archiving/ECHO-Cross-Program/blob/master/ECHO-Cross-Programs.ipynb
GNU General Public License v3.0
8 stars 5 forks source link

File names too large for multiply selected regions #139

Closed shansen5 closed 2 years ago

shansen5 commented 2 years ago

The notebook allows users to select multiple items from its dropdown widgets. When printing out CSV files of data for the selected regions it uses the name of the selected regions for the file name. E.g. RCRA+Violations-AK-County-YAKUTAT.csv If enough regions are selected in a dropdown, the file creation fails because the filename gets too large.

shansen5 commented 2 years ago

Let's just truncate the file name if it is larger than 50 characters.