Welcome to the hydro data processing repository.
For more information, please visit: Hydro Data Processing Website
This code automates processing the annual hydro data transfer from LADWP - extracting water levels, surface water monthly flow volumes, and groundwater pumping volumes and from ZRXP ASCII data exchange format, transforming and merging updates with the County database, and exporting a csv file formatted for the Owens Valley Groundwater Authority data management system.
- R and RStudio
- Git
- Git LFS (for handling large files)
-
Clone the Repository Using RStudio:
- Open RStudio.
- Create a New Project:
- Go to the
File
menu and selectNew Project...
. - Choose
Version Control
. - Select
Git
.
- Go to the
- Enter Repository URL:
- In the
Repository URL
field, enter the URL of your GitHub repository (e.g.,https://github.com/inyo-gov/hydro-data.git
). - Choose a directory on your local machine to store the repository.
- Click
Create Project
.
- In the
-
Open the Project in RStudio:
- Navigate to the directory where you cloned the repository.
- Double-click on the
hydro-data.Rproj
file to open the project in RStudio.
-
Install Git LFS and Pull Large Files:
If your repository uses Git LFS for handling large files, make sure to install and set it up:
-
Install Git LFS:
git lfs install
-
Pull Large Files:
git lfs pull
-
To contribute to this project, follow these steps:
- Fork the Repository:
- Go to the GitHub page of the repository and click the
Fork
button at the top right to create a copy of the repository under your own GitHub account.
- Go to the GitHub page of the repository and click the
- Clone Your Fork:
- Open RStudio and create a new project from version control, using the URL of your forked repository.
- Create a New Branch:
-
In your local repository, create a new branch to work on. For example:
git checkout -b feature-branch
-
- Make Your Changes:
- Implement your changes or additions in RStudio.
- Commit and Push Your Changes:
-
Once you have made your changes, commit them with a descriptive message:
git add . git commit -m "Description of the changes" git push origin feature-branch
-
- Create a Pull Request:
- Go to the original repository on GitHub and you should see an option to create a pull request from your branch. Click on
Compare & pull request
, provide a detailed description of the changes, and submit the pull request.
- Go to the original repository on GitHub and you should see an option to create a pull request from your branch. Click on
- Review Process:
- One of the project maintainers will review your pull request. You might be asked to make further changes. Once everything is satisfactory, your changes will be merged into the main branch.
This project is licensed under the MIT License. See the LICENSE file for details.
lubridate
knitr
readxl
tidyverse
here
DT