pySTEPS / pysteps

Python framework for short-term ensemble prediction systems.
https://pysteps.github.io/
BSD 3-Clause "New" or "Revised" License
466 stars 168 forks source link

Refactor pystepsrc #217

Open dnerini opened 3 years ago

dnerini commented 3 years ago

This new version maybe is a good opportunity to change the pystepsrc parameter file format. Although the JSON configuration file does the job, it has a few disadvantages. A better, and more readable, alternative is the YAML format that I personally like a lot.

Originally posted by @aperezhortal in https://github.com/pySTEPS/pysteps/issues/216#issuecomment-886207050

dnerini commented 3 years ago

I like the idea of the yaml format (and for this, MeteoSwiss maintains a very nice little library that we could adopt: yaconfigobject). Other than the format, we should rethink the scope of the configuration files and how this is used throughout the library.