UCHIC / iUTAHData

The iUTAH Modeling and Data Federation website - data.iutahepscor.org.
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

Update variables displayed on site pages #16

Closed AmberSJones closed 10 years ago

AmberSJones commented 10 years ago

We don't need all variables displayed as sparkline plots- we should just use a list of selected variables. I've developed a list that is up in the Google drive data.iutahepscor.org folder: https://docs.google.com/a/aggiemail.usu.edu/document/d/1cEpW7cOES3kIXY4uH9nvGkZtCSjp_hUmM5AdCFVGtek/edit

Let me know if you need additional info (variableIDs, etc.)

marioscience commented 10 years ago

There are Land and Stream sites, but also Atmosphere. What should I do with this last one?

AmberSJones commented 10 years ago

Atmosphere, Land, and Climate are all the same. There should only be two site types: Climate and Aquatic.

Do you still want the VariableIDs?

marioscience commented 10 years ago

According to Juan the variable codes are unique per each variable, so those should work.

AmberSJones commented 10 years ago

Yes, that's true.

AmberSJones commented 10 years ago

I'm still not seeing all of the variables on the pages- particularly for the climate variables. Also, they should probably appear in the order listed in the Google doc.

marioscience commented 10 years ago

The variables are now in the order listed in the document. I checked to see why there are some variables missing in some sites. I just found that some sites don't have all variables listed in the Google doc. I made sure my code is correct so it must be that the data is not in the database.

AmberSJones commented 10 years ago

I added the precipitation variable that occurs at the Provo sites to the list. It is Precipitation, Rain_Tot. Let me know if there are any other questions about these.

marioscience commented 10 years ago

Variable added.

AmberSJones commented 10 years ago

Ok, there are still a couple of issues that I'm observing, most of which are my fault:

  1. I realized that we weren't seeing precipitation at the Logan River sites, which is because the variable code was incorrect in the database. I've change it to be consistent with Red Butte Creek.
  2. Provo River sites are missing air temperature. This variable is AirTemp_Avg. Only Provo sites should be queried for this variable- it exists for Logan River and Red Butte Creek, but it is not being reported any more. I'll add AirTemp_Avg to the Google doc.
  3. There is a site in Logan River (Wilkins Repeater) that has totally different variable codes from the other sites. I'm adding its variables to the Google doc.

Sorry for these oversights. Let me know if you have any questions.

marioscience commented 10 years ago

The changes above are done. For the Wilkins site the variable ' WindDir_DV1_WVT' is not showing. Is this the correct variable code?

AmberSJones commented 10 years ago

I'm getting a '500-Internal Server Error' when I try to view individual site pages, so I'm unable to test these.

You're right- that variable code is incorrect. It should be WindDir_D1_WVT. Good catch.

marioscience commented 10 years ago

Sorry about that. I fixed that error yesterday and I think it went back after the push. It is working now.

AmberSJones commented 10 years ago

I'm still getting the error on the Sandbox server.

marioscience commented 10 years ago

Ok now it is fixed. The error is because old json files were on the server folders and were getting reloaded to the website every time I did a pull. Sorry for the inconvenience.

AmberSJones commented 10 years ago

Ok, these changes seem to be resolved. I'm closing the issue.