weather-tools icon indicating copy to clipboard operation
weather-tools copied to clipboard

weather-tools as a library

Open deepgabani8 opened this issue 2 years ago • 2 comments

Fixes #206 .

deepgabani8 avatar Sep 21 '22 13:09 deepgabani8

This is a good start. However, the abstractions we provide in the Pipeline object should make adding variations to the pipeline easy (where we expect there to be changes). Our internal pipelines should be a guide for what kinds of changes we can expect from users. For example, users should be able to:

  • choose custom file openers (for their own file types) / ways users can create EE assets
  • create filters or combine URIs into groups to suite specific pipeline needs
  • specify if they want a batch or streaming pipeline

These only reflect our initial variants -- and only for the EE destination. I think that we could benefit from implementing this feature later, as we've still only seen a handful of variations of our pipeline.

alxmrs avatar Sep 21 '22 19:09 alxmrs

Yes, It is an abstraction of what weather-mv pipeline is doing which the user can inherit and override pipeline-level functions.

Like this going one step deeper, the user should be able to override bq, ee, rg level functions. For that we can import them in weather_mv's init and make extendable classes. Thoughts?

deepgabani8 avatar Sep 22 '22 06:09 deepgabani8