https://github.com/caltechlibrary/caltechdata_map
Map interface for CaltechDATA files
https://github.com/caltechlibrary/caltechdata_map
Last synced: 5 months ago
JSON representation
Map interface for CaltechDATA files
- Host: GitHub
- URL: https://github.com/caltechlibrary/caltechdata_map
- Owner: caltechlibrary
- License: other
- Created: 2017-12-21T17:19:39.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-12-01T01:03:44.000Z (over 5 years ago)
- Last Synced: 2025-09-05T02:22:14.453Z (10 months ago)
- Language: HTML
- Homepage: http://maps.library.caltech.edu
- Size: 60.5 KB
- Stars: 1
- Watchers: 6
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codemeta: codemeta.json
Awesome Lists containing this project
README
# Map interface for CaltechDATA
[](https://data.caltech.edu/badge/latestdoi/115029918)
Shows a map of theses data files from the Geological and Planetary Science division that
have geolocation information in CaltechDATA.
Most files are maps and drawings from the supplemental materials pockets of
theses.
Requires Python 3 (Recommended via Anaconda https://www.anaconda.com/download)
Install python dependencies listed in `requirements.txt` using pip
## Usage
Type `python makemap.py` to generate the map.
A file caltechdata_map.html will be
generated, which you can view on a web browser.
## Configuration
To run automatically on a Ubuntu server and power an S3-hosted site:
Install aws cli utility `pip install awscli --upgrade --user`
Configure aws cli following the instructions at https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html
Edit crontab by typing `crontab -e` and typing:
`PATH=/home/ubuntu/anaconda3/bin:/home/ubuntu/bin:/home/ubuntu/.local/bin:/home/ubuntu/anaconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin`
`*/5 * * * * /home/ubuntu/caltechdata_map/run.sh > /home/ubuntu/cron.log 2>&1`
You can adjust the path to match your system.