Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to fill missing input data #388

Open
kqasem opened this issue May 6, 2020 · 3 comments
Open

How to fill missing input data #388

kqasem opened this issue May 6, 2020 · 3 comments

Comments

@kqasem
Copy link

kqasem commented May 6, 2020

Hello everyone,
I am trying to calculate stream metabolism for a reach that does not have depth or solar radiation data.
I would like to hear your thoughts on my approach as I know that metabolism is very sensitive to depth values.

for depth, this is what I did

  • Found a USGS gage 6 miles upstream (the river is relatively flat and there is no big difference in cross-sections as it is a manmade channel)
  • Used the field data from the USGS and related Gage Height to Water depth
  • confirmed that the relationship is statistically significant (p < 0.01)
  • from the time-series gage height data, I calculated water depth and assumed that the water depth at the gage is similar to the water depth at the DO station location.
  • water depth data has several gaps and I don't know what is the best approach to fill the gaps (interpolate? average? average monthly?)

for solar radiation,

  • I downloaded solar radiation data from the NREL website
  • the data has a lot of gaps and it does not make sense as the model takes the light data to determine when the day starts and when it ends.
  • heard from some friends that you can come up with light data based on sunrise sunset info?

Thanks in advance!!!
Karoline

@robohall
Copy link

robohall commented May 6, 2020 via email

@kqasem
Copy link
Author

kqasem commented May 7, 2020

Thanks a lot Bob for the great thoughts and details. I really appreciate it.
Unfortunately, we do not have geometry data - I need to double-check with the agency who provided me with the DO data though.

  • Could you clarify one thing. so you are saying that the depth is actually the mean depth of the river not the depth at the DO sensor? What is the actual definition of water depth in stream metabolism? (average water depth upstream of the DO station? how far upstream)

  • if I have another USGS station downstream of the DO sensor along with the other station upstream of the sensor, can I use an average depth.

USGS gage --- 6 miles ---- DO station ----- 5 miles ----USGS gage

so, the DO station is between the two USGS. Would it make sense to average the depths at the two USGS gages?

  • How will a cross-section data at the DO station help me determine "average river" depth? Knowing that I only have time-series gage height data at the USGS gages?

  • Lastly, could you please share with me the tool you me mentioned to create fake light data? I remember a couple of years ago seeing an R script that does that.

I hope I was clear and did not confuse you

thanks!!!

@kzollove
Copy link

In case this may still be helpful:

The function calc_light() will give you a light estimate based off of solar-time, latitude, and longitude. Its built in to streamMetabolizer [streamMetabolizer::calc_light()].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants