Comments (15)
Asking again. Why is this pulled in rather than in a separate package as I have specified needs to be done?
I realise that there are some minor differences here but the majority of the weather formating is the same between models. I'm envisioning a suite of R packages that use the same format of weather data give or take a column here and there. Maintaining code across several packages vs just one is not optimal.
from ascotracer.
Yes that is the goal, to build a suite of functions in a phytopath_tools
or epiphytopath_tools
package.
We have yet to initialise this package. I guess there is no time like the present.
The reason for bringing this issue up was to make aware that the format_weather
function needs to be more flexible to work with packages other than the blackspot
package. And the need to improve the development of this function so it is flexible between blackspot
, Ascotracer
and future packages.
Ascotracer
requires weather data, but not in the same format as blackspot
.
I think as I get further into the development of Ascotracer
I will have a better grasp on how I can alter Ascotracer
to accept more generically formatted weather data. And also add enhancements to format_weather
to provide that S3 generic format.
from ascotracer.
I was thinking about the class of the object, we could call it a "sporacle" class after Moin's original model.
If the models themselves need something special, we can handle minor formatting, selecting cols or whatnot in them but most of the weather formatting and checking should be handled with the new
Set up a package repository for the weather handling and let's see what it needs to work across these. Since we're working with weather and wind dispersal, what about calling it "Anemoi"?
from ascotracer.
To add to this issue,
I am assuming that at this stage Ascotracer
will not be using lat
and lon
coordinates. Thus format weather should have an option to provide NA
to the lat
and lon
arguments.
As far as I can tell Ascotracer
will not, and probably should not accept weather data from more than one weather station input. Unchanged a user can add any lat and on coordinates to the weather data and they will not be used any further if they plan to use Ascotracer
.
Alternativley we could add an option to the format_weather
function to return an output suitable for the model input, and not provide warnings if arguments superfluous to the requirements of `Ascotracer.
eg.
method = "Ascotracer"
However I think it would be better to allow flexibility in the inputs. Then add a check in the Ascotracer
model that the formatted weather contains the correct variables for the model.
from ascotracer.
from ascotracer.
I like the name anemoi
however I get the feeling we will soon also be working with weather driving spore maturation as well. Something more generic might be better
from ascotracer.
Pythia?
from ascotracer.
Mean daily temperature inform crop maturity only. There is no pseudothecial maturation in case of chickpea. Conidia are produced and released in hours, not days, so degrees days are not required for conidia maturity
from ascotracer.
Yes, I should have been more specific.
Temperature is needed for the pseudothecial maturity model in blackspot
Pythia seems a bit to close to Pythium for me. Given it will probably be a package that does not get published and is a package for generic modelling tools I am happy with a generic mundane name.
from ascotracer.
Pythia was the name of one of the oracles of Delphi. Given that the original model is “sporacle”, I think it makes sense and would be related to Pythium as it’s the root word for “rot”. I think it makes perfect sense.
from ascotracer.
My hesitation from following on the use of sporacle
is that while it is a witty reference and play on words. There has been discussion from Jean and Art suggesting that the name was not good for being 'searchable' or 'memorable' as a software name.
I guess what I am trying to say is what is the goal are we aiming for in the choice of name.
a) Something witty that entertains us as developers, but is less understood or 'searchable' by the wider community. Or
b) a name that is 'searchable', memorable and literal to the functions the package will serve.
It the answer is the first a), then pythia
is a fantastic choice and we should go with it; however if the answer is the second IMO I think we might need to consider other ideas.
from ascotracer.
from ascotracer.
I think we're overthinking this. It's basically wrangling weather data. Something like tidyweather or weathrangler or anything along those lines works fine.
from ascotracer.
from ascotracer.
Closing because we decided not to release a separate package for formatting weather data. Only format_weather()
function is used
from ascotracer.
Related Issues (20)
- contradiction in definition of primary infection intensity HOT 4
- Why not call it `seedling_inoculum_intensity` ? HOT 7
- How come there are two sources of inoculum in a single function? HOT 26
- Why is it relevant for random foci only? HOT 4
- Same definition and values in a function. We only need one HOT 2
- Why is primary infection intensity zero and 1 at the same time? HOT 3
- This can be deleted. There is no association between them HOT 1
- tic.R file make cause CRAN rejection HOT 3
- Mac checks failing due to `sf` dependency HOT 5
- devtools::buildreadme reverts changes HOT 14
- Rename master branch to main HOT 6
- Readme file doesn't knit HOT 14
- `dev` version is out of date HOT 1
- URL isn't clearly found HOT 2
- 'Rcpp_precious_remove' not provided by package 'Rcpp'” HOT 4
- spores_per_gp_per_wet_hour documentation is incomplete
- Check cap/lower-case in documentation for parameter descriptions
- `== FALSE` used incorrectly in several locations
- Found if() conditions comparing class() to string HOT 1
- Several internal functions lack examples
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 ascotracer.