Comments (2)
month_abb_english
is defined in constants.R
. Surprised if it doesn't find it in functions?
- Yes, good idea.
- The GeoCLIM documentation mentions "ID" #17 (comment) so I think keep it as ID.
character
. It is for a set of additional station columns that you might want to include in the output, but not mandatory e.g. station elevation or country.
I can look into the error later if you still can't find the cause.
from cdms.products.
@dannyparsons thanks! I've sorted 1-3 now.
To the error - we currently run in the function:
geoclim_data <-
tidyr::pivot_wider(data_with_meta,
id_cols = tidyselect::all_of(id_cols),
names_from = tidyselect::all_of(month),
values_from = tidyselect::all_of(elements),
values_fill = -999)
I was initially not running this with summary data, just the daily data. The output was then giving a vector of values when running pivot_wider
.
Having values_fill = -999
then caused the error.
So this is fixed now that I am using it correctly!
from cdms.products.
Related Issues (20)
- Creates extremes function
- Refer to `naflex` package on CRAN HOT 1
- Add an example dataset to the package
- Parameter names - consistency HOT 5
- Export CDT Dekadal data HOT 6
- Package name HOT 3
- Only use names and function signatures that are also valid in Python HOT 8
- Discussion on using "tidy evaluation" or not for column names HOT 2
- The signature of `export_geoclim_month` is inconsistent with Python
- Bugs in the inventory_plot function HOT 1
- Make tests accessible on installed package HOT 3
- Bug when using elements in the climatic_summary function HOT 2
- Add test for climatic_summary when there's no summaries provided
- Add test for climatic_summary that contains a `summaries_params` parameter HOT 3
- "element" not recognized in Input (file_path = paste0("CDT-", element, ".csv")
- Incorrect column names from export_geoclim_month.R
- R functions to write tests on HOT 4
- Parameters ignored in `export_geoclim_dekad()` and `export_geoclim_pentad()` HOT 1
- Invalid tests in `test-histogram_plot.R`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cdms.products.