You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today the station list can be specified in the config.yaml file. However, in certain scenarios the list can be very long (1000s), so it would be useful to load this list from an external file (e.g. stations.txt).
This task consists of updating the ConfigParameters class (`src/noisepy/seis/datatypes.py):
Add a stations_file field that is validated to be a valid file path
Validate that if stations_file is set, stations is empty
If stations_file is set:
When loading, load the list from the file and into the stations field
When saving, save the list to the file and set the stations field to none
Add unit tests for this new behavior
The text was updated successfully, but these errors were encountered:
Today the station list can be specified in the
config.yaml
file. However, in certain scenarios the list can be very long (1000s), so it would be useful to load this list from an external file (e.g.stations.txt
).This task consists of updating the ConfigParameters class (`src/noisepy/seis/datatypes.py):
stations_file
field that is validated to be a valid file pathstations_file
is set,stations
is emptystations_file
is set:stations
fieldstations
field to noneThe text was updated successfully, but these errors were encountered: