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

2022/03/15 HARP Weekly Work Session #165

Open
rburghol opened this issue Mar 14, 2022 · 2 comments
Open

2022/03/15 HARP Weekly Work Session #165

rburghol opened this issue Mar 14, 2022 · 2 comments

Comments

@rburghol
Copy link
Contributor

rburghol commented Mar 14, 2022

 PROBLEM ERROR Hourly data outside valid range
 data=    1127.18115
  • Running lseg visualization script:
Error in file(file, "rt") : cannot open the connection
In addition: Warning message:
In file(file, "rt") :
  cannot open URL 'http://deq1.bse.vt.edu:81/met/out/lseg_csv/1984010100-2020123123/A51810.HSET': HTTP status was '404 Not Found'
  • Most file are there, did I miss a step in my process?
ls out/lseg_csv/1984010100-2020123123/A51810.* -lhrt
-rw-rw-r--+ 1 7442902 allmodelers 6.4M Mar 22 18:02 out/lseg_csv/1984010100-2020123123/A51810.DPT
-rw-rw-r--+ 1 7442902 allmodelers 6.4M Mar 22 18:02 out/lseg_csv/1984010100-2020123123/A51810.PET
-rw-rw-r--+ 1 7442902 allmodelers 6.4M Mar 22 18:02 out/lseg_csv/1984010100-2020123123/A51810.PRC
-rw-rw-r--+ 1 7442902 allmodelers 6.4M Mar 22 18:02 out/lseg_csv/1984010100-2020123123/A51810.RAD
-rw-rw-r--+ 1 7442902 allmodelers 6.4M Mar 22 18:02 out/lseg_csv/1984010100-2020123123/A51810.TMP
-rw-rw-r--+ 1 7442902 allmodelers 6.4M Mar 22 18:02 out/lseg_csv/1984010100-2020123123/A51810.WND

@alexwlowe
Copy link
Contributor

Update 3/23/2022
The data outside valid range error is shown below:

 PROBLEM ERROR Hourly data outside valid range
 data=    1127.18115

It appears to occur in Gopal's wdm_insert_ALL funciton. The line that produces the error is here. The error can also be produced six more times in the script, one for each metric (prp, pet, rad, etc.). I think this means that the function does not like the land segment data it is receiving.

@alexwlowe
Copy link
Contributor

Update 3/23/2022
The .HSET error occurs because the hargreaves samani method of evapotranspiration has not been run for every land segment (ie it is not in our current functionalized workflow). I am currently working on functionalizing the creation of .HSET so that they can be incorporated in the workflow!

The two functions that I have created are located in /backup/meteorology/R

  • hset_generation.R: runs generate_lseg_hset and writes output to desired directory
  • generate_lseg_hset.R: creates hset csv files from precip and radiation data

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

8 participants