Comments (4)
Hi @alxmrs, I plan to work on this and have a couple of questions:
-
should the CLI accept multiple configs as something like this:
weather-dl config_1.cfg config_2.cfg --local-run
or we just accept a folder path contains all the configs e.g.:
weather-dl --config_folder /path/to/configs --local-run
-
I assume the option would be applied to all the configs, is that correct? So for the above example, we run every config on the local machine.
Thank you!
from weather-tools.
Regarding the license, my first thought was each config file gets a say. For example, at first, we execute:
weather-dl config_1.cfg config_2.cfg --local-run
,
but then somehow later we need to redownload only for config_2.cfg
and since all flags applied to all the configs, we need to execute:
weather-dl config_2.cfg --local-run --force-download
.
Would it be easier if config_2.cfg
has its own params? Am I missing something on the tool's design?
- The former. Users can use a glob star pattern to specify a folder of configs if they wish. On that note, we can encourage that usage by documenting examples of it.
- Yes, all the flags applied should apply to all the configs.
Thanks and well noted on this.
from weather-tools.
Ok, that makes sense to me. I like the example use case you bring up. Further, thinking about it more, the tool would be a bit more fragile if the order of arguments was important for the flow of execution. Better to strictly follow the interface we establish elsewhere.
You're not missing anything. One reason why I suggested the other approach is that it may make the implementation simpler.
from weather-tools.
Hey @pangeran-bottor, thanks for your contribution! A few thoughts:
-
The former. Users can use a glob star pattern to specify a folder of configs if they wish. On that note, we can encourage that usage by documenting examples of it.
-
Yes, all the flags applied should apply to all the configs.
Last, an open question: What parameters should take precedence? The first config's params, or does each config file get a say? Of particular concern here is how licenses are applied. For example, it would be convincing if I only needed to add licenses to the first config and they magically appeared in all of the rest. What are the downsides to doing this? Is this design question clear? Do you have an opinion on the matter?
from weather-tools.
Related Issues (20)
- `gcloud alpha commands` used but not installed in enviroment
- ruff not used in CI pipeline
- Missing ruff checks
- Don't keep NULLs in the CSVs for feature collection
- Provide support to give time range while opening zarr HOT 1
- weather-mv rg gave data with offset by 180 degree longitude.
- weather-sp: Provide an option to append the filename with the splitted filename.
- weather-mv bq raster issue while reading ecmwf grib file HOT 2
- Find a way to exclude test data when building docker image. HOT 2
- All tools should make use of public runtime container image to manage dependencies
- weather-mv ee: Add a couple of time-metrics to asset attributes
- Deprecated Apache Beam Version Causing Error in weather-dl tool.
- Make use of secret-manager while using weather-dl for license keys. HOT 1
- Enhanced support in weather-dl for downloading data across month ranges spanning multiple years. HOT 1
- Add new functionality (--async) in weather-dl to terminate tool after dataflow job launched.
- Strengthen feature collection ingestion logic in weather-mv
- [CI/CD failing] Ruff version deprecated. HOT 2
- Add a feature in weather-mv to extract specific date's data from any files.
- Faster ingestion into BQ by converting the chunk into pd.Dataframe
- Pangeo Showcase talk on weather-tools/xql? HOT 1
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 weather-tools.