uafgeotools / rtm

A Python package for locating infrasound sources using reverse time migration
https://uaf-rtm.readthedocs.io/
MIT License
38 stars 13 forks source link

Automatically download enough data #11

Closed liamtoney closed 5 years ago

liamtoney commented 5 years ago

Original report by me.


Currently it is possible for the user to specify start and end times that don’t download enough data. We should automatically calculate the duration of data required and add that to the user’s requested start and end time. Not sure if it should be a standalone helper function, or if it should be built in to the data gathering scripts… leaning towards the former. Input would need to be coordinates of all stations and grid center / dimensions though, so tricky to decide where this belongs.

This is fairly critical since it’s easy to screw up / zero out the stack function if not enough data is downloaded.

liamtoney commented 5 years ago

This could help mitigate issues as discussed in #4

liamtoney commented 5 years ago

Implemented in 136ed9d