This ReadMe file provides instructions on how to download discharge data from the USGS website, clean up the data, and format it into a CSV file with specific columns. The steps below guide you through the process:

1. Download Discharge Data:

Visit the USGS website using the following link: https://waterdata.usgs.gov/nwis/current/?type=dailydischarge&group_key=huc_cd&site_no_name_select=siteno.
Find and click on the gage located within your Area of Interest (AOI).
Click "Summary of all available data for this site."
Click "Daily Data"
Check the available parameter, e.g., 00060 Discharge(Mean).
Specify the date range you need.
Choose "Tab-separated data" as the format.
Click "GO" to retrieve the data.
Copy the data from the webpage.

2. Create a CSV File:
Open a spreadsheet program like Microsoft Excel.

3. Delimit and Clean Up Data:
Paste the copied data into the spreadsheet.
Delete the first 26 rows, which are descriptions of the data.
Make sure the first row contains the column titles: agency_cd, site_no...
Select the column containing the data and split into separate columns.
In Excel, go to the "Data" tab.
Click on "Text to Columns."
Choose the "Delimited" option.
Select "Tab" as the delimiter.
Click "Finish" to separate the data into columns.
Delete the unnecessary columns.

4. Final Data Format:

The final CSV file should have 6 columns: agency_cd, site_no, Month, Day, Year, and MeanDischarge.
You can refer to the example in the test case named "DailyDischarge.csv" for the desired format.

To obtain daily precipitation meteorologic data, go to https://www.ncei.noaa.gov/maps/daily/



Test cases:
=============================
Onondaga Lake, NY located within HUC 04140201, USGS gage 04240010 Onondaga Creek (optional: 04240300 Ninemile Creek), 742 km2.
Modeling time period: 1991 - 2017
Extent: Top 43.143796 Bottom 42.760545 Left -76.421634 Right -76.016382
*Giovanni box: -76.421634,42.760545,-76.016382,43.143796

NOAA weather station:SYRACUSE HANCOCK
Lat:43.111 Long:-76.104
USAF:725190 WBAN: 14771
Station Start Date 1942-10-01

=============================
Plum Creek, CO located within HUC 10190002, USGS gage 06709530, 961 km2.
Modeling time period: 1986 - 2014
Extent: Top 39.517895 Bottom 39.102762 Left -105.118814 Right -104.809075
*Giovanni box: -105.118814,39.102762,-104.809075,39.517895

NOAA weather station: Buckley Air Force Base
Lat:39.717 Long:-104.750
USAF:724695 WBAN: 23036
Station Start Date 1944-03-01

NOAA weather station: Buckley AFB
Lat:39.700 Long:-104.750
USAF:724695 WBAN: 99999
Station Start Date 2000-01-01 to 2004-12-31
=============================
Sandusky River, OH located within HUC 04100011, USGS gage 04198000, 3450 km2.
Modeling time period: 1975 - 2011
Extent: Top 41.446461 Bottom 40.590675 Left -83.577354 Right -82.650561
*Giovanni box: -83.577354,40.590675,-82.650561,41.446461

NOAA station:FINDLAY AIRPORT
Lat:41.014 Long:-83.669
USAF:725366 WBAN: 14825
Station Start Date 1973-01-01 

NOAA weather station:Toledo Express Airport
Lat:41.587 Long:-83.085
USAF:725360 WBAN: 94830
Station Start Date 1973-01-01 