Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need support for additional grid (and catalog) forecast formats #266

Closed
pabloitu opened this issue Sep 2, 2024 · 0 comments
Closed

Need support for additional grid (and catalog) forecast formats #266

pabloitu opened this issue Sep 2, 2024 · 0 comments

Comments

@pabloitu
Copy link
Collaborator

pabloitu commented Sep 2, 2024

There is a number of different formats out there, which could have support by pycsep. This include the .XML, the csep .csv format (e.g., has a column for each magnitude bin rate) and HDF5 (issue #193 and now implemented by @Serra314 and in floatcsep). pyCSEP currently supports the .dat format and a custom_function. I suggest we create a factory class to handle and link the format parsing to forecast creation, which should be called from the high-level load_gridded_forecast() in csep.init. In the factory we can have format checks (as agreed to solve #226 #225),

Same pattern could be applied to catalogs and catalogforecasts if necessary.

@pabloitu pabloitu closed this as not planned Won't fix, can't repro, duplicate, stale Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant