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

catalog format for time-only forecasts #112

Open
rinaldiap opened this issue Apr 6, 2021 · 5 comments
Open

catalog format for time-only forecasts #112

rinaldiap opened this issue Apr 6, 2021 · 5 comments

Comments

@rinaldiap
Copy link

How should I format my catalog if I want to compare only the time evolution of my forecast?
Should I just use a fake location for "each" event?

@wsavran
Copy link
Collaborator

wsavran commented Apr 6, 2021

Is the forecast specified as a catalog? also, how will you define the region to filter the catalog used for the evaluation? in short, yes, you can just create dummy locations for lat/lon/depth in the forecast. by doing this, you will only be able to compute the number_test().

the other option is to create a mock class that would work with the number_test and magnitude_test() functions. this requires a bit more understanding of python. this is probably the best solution to be honest.

i haven't anticipated this use-case yet, so ill work through an example to show how this would work. it might require some code changes.

@rinaldiap
Copy link
Author

the actual output is just number of events in time, so the first option would require a sort of wrapper/post-processing to create an ad-hoc catalog with dummy locations.
I agree that the best solution would be to have a mock class. I will think at something and maybe double check if it is then something to include officially in pyCSEP.

@wsavran
Copy link
Collaborator

wsavran commented Apr 6, 2021

id be in support of having the ability to accommodate a temporal only forecast. if you don't mind sharing an example output of the forecast in ascii format i could try and help you set up the class to make sure it works with everything else.

@wsavran
Copy link
Collaborator

wsavran commented Apr 20, 2021

hi @rinaldiap, just checking in to see if you had any luck working with time-only forecasts.

@rinaldiap
Copy link
Author

not really. I had no much time, but I will provide an example soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants