Skip to content

When Running your code, I got this error as follows: #19

@SerdarHelli

Description

@SerdarHelli

In the settings , I changed

data_settings:
client: IRIS #enter all the clients separated by commas
network: "KOERI" #* for all stations
station: "" # for all stations
channel: BHZ,BHE,BHN #
locations: {"","00"} #List all locations, e.g "","00"

and

Define the geographical region

mnlong: 25 #minimum longitude
mxlong: 45 #maximum longitude
mnlat: 36 #minimum latitude
mxlat: 45 #maximum latitude

rf_data.get_stnxml(network=network, station=station)
File "C:\Users\pc\Desktop\stadium\STADIUM-Py-master\rfsks_support\download_large_data.py", line 82, in get_stnxml
inventory.write(self.inventoryfile, 'STATIONXML')
UnboundLocalError: local variable 'inventory' referenced before assignment
2022/09/27 18:22:44|INFO|

2022/09/27 18:22:44|INFO| Obtaining events catalog
2022/09/27 18:22:44|ERROR| No data available, exiting...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions