Scripts and code that is used for processing and working with the data for Fremont project.
Dropbox is currently being restructured (new folder structure is being introduced in separate folder called Private Structured data collection) and all the stuff here will be manually moved/re-created by Michal and Jiayi. It should not interfere with any ongoing work that is being done outside of this folder.
You can check new Dropbox structure proposed here.
- Install Anaconda (the Python 3.7 version)
- Open Anaconda Navigator and install Jupyter Notebook
- Install additional Python packages we are using
conda install geopandas- Run
jupyter notebookfrom command line (inside the folder that you cloned this repository into). We recommend usingget_dropbox_locationfunction that is provided infremontdropbox.py(guide how to do that below).
In your code, access the root path of local Dropbox folder like this:
from fremontdropbox import get_dropbox_location
get_dropbox_location()
# "/path/to/Fremont Dropbox"- Most of the code operating on the data will be kept in Jupyter notebooks.
- Paths to the files or datasets should be relative so anybody can run
jupyter notebookfrom any folder and the code should be able to find all files that are being used. Raw datafolder should not be directly accessed or used as an output destination.- Data on which the code operates will be stored in
Processed data. - Temporary files that are generated during any data processing can be stored in
/tmpfolder - it will be ignored by Git. Make sure to not store any useful data there.
- Check issues if you are currently without any assigned work. We'll try to keep list of coding tasks that needs to be done here. They should be discussed in meetings prior.
- Discuss the issue or create new one if something is not working as expected (bugs, problems etc.).
- Fork the repository
- Do some changes
- Create new pull request stating what are you trying to add/change or what impact your change will have (we'll try to provide some guidance with prepared issue and pull request templates).
- Ping your colleagues to review your code or Jupyter notebook (not strictly needed, but helps tremendously to do the code review)
- Ping @michaltakac to review your PR. It should be merged in under 24 hours if possible.