Load Duration Curves: Spreadsheet and PowerPoint Tutorial. Office of Water Quality Indiana Department of Environmental Management November 2003. By: Ernest L. Johnson III 1 and Bruce Cleland 2 1 Assessment Branch, Office of Water Quality Indiana Department of Environmental Management
01 / 53Load Duration Curves: Spreadsheet and PowerPoint Tutorial
1 / 17
Télécharger la présentation
Load Duration Curves: Spreadsheet and PowerPoint Tutorial
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation
Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement.Téléchargez la présentation en cliquant sur ce lien.Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.
F I N
Plus de contenu associé
Transcription de la présentation
Load Duration Curves:Spreadsheet and PowerPoint Tutorial Office of Water Quality Indiana Department of Environmental Management November 2003 By: Ernest L. Johnson III1 and Bruce Cleland2 1Assessment Branch, Office of Water Quality Indiana Department of Environmental Management 2525 North Shadeland Avenue, Box 6015 Indianapolis, IN 46206-6015 2America’s Clean Water Foundation 750 First Street N.E. Suite#1030 Washington, D.C. 20002 IDEM 32/02/084/2003
Process of the tutorial was done using the following programs: Internet Explorer 6.0 Excel 97 SR-2 PowerPoint 97 SR-2 This is a draft copy. Issues regarding the mechanics of the spreadsheet or tutorial contact: ejohnson@dem.state.in.us Issues regarding Flow Duration concepts contact: b.cleland@acwf.org Problems encountered Netscape Navigator does not save U.S.G.S. ‘discharge’ data in .txt form All workbooks in Excel 97 need to be open in the same session of Excel If you print this please do not do so in color. You will need to uncheck the “Black & White” check box before printing or you will not get any backgrounds. Assumptions for Tutorial
Here is where you will copy the Station Description information into the Duration Curve Spreadsheet. 1. Click and Drag your cursor from “Location” to the end of the email address h20team@usgs.gov. 2. Select Edit and then Copy from the menu bar, or press “Ctrl + C”.
Notice the cells with the red triangle in the upper right corner? Place your cursor over these for helpful information. Open your “!WQ Tool(Template).xls” file. Select the cell you see here “A4” and click the Paste button or type Ctrl+V. You may need to adjust the column width if your data show a bunch of “#######”. In this workbook, anyplace you see Neon Green is a place where you will need to enter data. Also, when copying data from a web page it may not post just like this. You may need to delete out the original data and paste in as you see fit.
You can switch between the USGS site page and here to either copy or retype the information for Station Description in “A1” and the information for Station ID in “H2”, Station Name “H3”, and Drainage area “G4”. This information is linked throughout the workbook and you won’t need to retype them again. If you Copy, Paste the above information from the USGS Website, you should use Paste Special, Values.
Notice that the Station ID and Name have copied over automatically here for you. Click on the “Raw_Data” tab at the bottom and then go back to the USGS site to finish your flow data retrieval. We won’t do anything here just yet.
To get here we clicked in the “Available data for this site” and Selected “Surface-water: Daily streamflow. If you do not want/need all the data, you can select your own dates by typing in the range of interest. Select the “Tab-separated data” button and Click “Submit”
You will get the “File Download” screen. Click “Save”. The default name is “discharge”. Leave the default name as it appears. *The name must be the same or the copy program will not work later in the spreadsheet.
I’ve created a folder in “My Documents” as a standard place to put the discharge file. Notice that there is only one file. We do not need to keep the raw data once we copy it into our spreadsheet, so I will just overwrite the previous file.
Now we want to open the file. Click “Open”. If you do not get the Download Complete window, Do Not Panic. You will need to manually open the file. Go to your Excel session and select File, Open and select the ‘discharge’ file from the folder it was placed.
You should now be looking at the raw data from the USGS. Now, go back to the Flow Duration spreadsheet. Click “Window” and select the “!WQ Tool(Template).xls” workbook. *You may have noticed that we have yet to save your working file. Do not worry, this will happen shortly. We’ll save it when you have moved your raw data (and sample data if doing a Load Duration Curve).
Now that you are back to the “!Flow Duration…” workbook, be sure you are in the “Raw_Data” worksheet. The data will not show until you do the next step. Click on the “Click here to Get Data from USGS ‘discharge’ file” button…and…voila…your data should appear. If not, seek some assistance.
Go to the Sample_Data worksheet. Load Duration Curves have some additional base assumptions: The primary base assumption for Load Duration Curves is that you have already obtained the raw data from your database and it is in an Excel spreadsheet. Clear out any remaining data that may be left over. There shouldn’t be since you’ve opened the template that is read only, but you never know.
This is the column that you will eventually “Copy, Paste, Values” into your sample date column. You will have to select them all. Select the first date and then press and hold “Ctrl + Shift + Down Arrow” then “Ctrl +C” to copy the data. Next go to the “Sample_Data” worksheet in the “!WQ Tool(Template).xls” Workbook. You will need to use this spreadsheet (AIMS_2_LDC_Format) if dates from your database include a time stamp with the date. This will tease apart the date/time data for use in the Load Duration Spreadsheet. Copy your raw data here by using “Edit, Paste Special, Values”.
Now click the Flow_Data tab at the bottom. You should see your flow data from the USGS Raw Data already here. Also, your Drainage area should be the same as on the first worksheet where you typed it in. If it’s not correct, recheck the “Site Info” worksheet. You don’t need to do anything else here.
Click back to the Sample_Data worksheet, Select Tools, Macro, Visual Basic Editor, or press “Alt + F11”. *Note: Your Sample Data needs to be in ascending chronological order or the program will not work. You can also have multiple same day data.
There are several Macros listed here, but we are only interested in this one. Click your mouse someplace in this area below “End Sub” near the top. Click the “Run” button, and your sample data dates will be matched with your flow dates data and the corresponding flow for your sample date will be matched. If all goes well you will see the next screen. If not, then something is wrong with your dates, e.g. not in ascending order, sample date within two weeks of raw flow data dates.
Now you will need to copy over the rest of your data from the AIMS_2_LDC_FORMAT workbook. This will include sample time, TSS, E. coli, NO2, Phos. Any or all, depends on what you are graphing. *Note: you will be able to look at any WQ species, this is just a template. You will need to change the names, but as long as you know the WQ criteria and it can be measured (lbs/day, ton/day, lbs/sec, tons/hr etc) you will be able to modify this spreadsheet to meet your own ends.
Remember, to easily select all data, click in the first cell and then hold down your shift key and then tap your right arrow key to select across. When you have done that, continue holding down the shift key, then press the Ctrl + Down Arrow unit you get to the bottom of your data. If you go past and end up at the bottom of the spreadsheet, just tap the Up Arrow Key once while still holding down the CTRL key and it will move up to your last data entry. Next, Ctrl + C to copy, switch back the Load Duration spreadsheet and paste your newly copied data there.
Notice we don’t have any data here to copy. We need to change the “equation” in this cell to “point” to the cells that have the data we are interested in e.g. (NO2+NO3). This cell is “pointing” to cell “J8” for data and we want to look at cell “L8”, so change the “J” to an “L”. Then Select all the cells in this column and click Edit, Fill, Down.
Here is where we get out Load Duration Curve data. Some things that you need to be aware of: 1. WQ Criteria is correct for the species you are looking at. 2. The equation in the “Load” column is correct. When this is correct, select the data in the Load Column and copy it.
Since we’re dealing with larger numbers, we can adjust the Y-axis. Click on the graph, and double click on the Y-axis to bring up this screen. You can now adjust the scale accordingly. This will mess up your vertical lines, which we will change on the next screen.