usgs-r / drb-temp-data-release-v2 Goto Github PK
View Code? Open in Web Editor NEWA data release to support temperature modeling in the Delaware River Basin (2nd iteration)
License: Other
A data release to support temperature modeling in the Delaware River Basin (2nd iteration)
License: Other
Update Zwart et al Source code: Near-term forecasts ...
citation with 2022 when ready.
This citation is currently found in in_text/text_SHARED.yml
and in_text/text_03_driver.yml
as:
-
authors: ['Jacob A. Zwart', 'Samantha K. Oliver', 'William D. Watkins','Jeffrey Sadler','Alison P. Appling','Hayley Corson-Dosch','Xiaowei Jia','Vipin Kumar','Jordan S. Read']
title: >-
Source code: Near-term forecasts of stream temperature using process-guided deep learning and data assimilation
pubdate: 2021
link: https://zenodo.org/record/5786612#.YtG75MZlBYx
-
see commit f257992
Items that will need update is pubdate
to 2022, and link
. authors
and title
may need minor updating (to check once source code becomes available).
file_functions zipping functions don't yet have a way to handle nc files.
Add code to handle nc files.
delaware-model-prep
]delaware-model-prep
but with some other upstream pipeline dependencies]/caldera/projects/usgs/water/iidd/datasci/water-prediction/run-prms-sntemp/4_model_run/out/uncal_sntemp_input_output.nc
delaware-model-prep
Where should reservoir data live?
I think the data that can be broadly useful and easily updateable from public sources (NWIS) should remain in the "main" data release. I think the GLM-specific reservoir data/outputs should go into the "forecast" data release.
I think we can simplify the data provided in this release into fewer files including:
Getting the following error on the filter(str_detect()) part of this function.
files_to_zip <- data.frame(filepath = dir(dsn, full.names = TRUE), stringsAsFactors = FALSE) %>%
mutate(filename = basename(filepath)) %>%
filter(str_detect(string = filename, pattern = layer_name))
Error in `filter()`:
! Problem while computing
`..1 = str_detect(string =
filename, pattern =
layer_name)`.
Caused by error in `UseMethod()`:
! no applicable method for 'type' applied to an object of class "AsIs"
Run `rlang::last_error()` to see where the error occurred.
suggestion changing to :
files_to_zip <- data.frame(filepath = dir(dsn, full.names = TRUE), stringsAsFactors = FALSE) %>%
mutate(filename = basename(filepath)) %>%
filter(grepl(pattern = layer_name, x = filename)) %>%
pull(filename)
Most files are documented in the old data release yml files ported over. However, we'll also need to include:
Is it ok to have keep these zipped datasets as .rds? Or should we turn them into csv. ?
drb-temp-data-release-v2/2_observations.yml
Lines 26 to 33 in 8a94e93
Same question for in comment in forecast-data-release-v2
Placing this issue here to remember to copy over the gridmet data from caldera (/caldera/projects/usgs/water/impd/pump/gridmet/drb_gridmet_tools/data/out/drb_climate_2022_04_06.nc
) to the in_data
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.