Hi - I’m trying to get picks in SWARM to load into Hypo71 via the Event Dialog, using clipboard picks. Every time I try to “Run” it tells me “Number of stations: 0” despite 4 on the clipboard. after many tries I noticed the windows shell window is full of error messages:
ERROR - No location metadata found for
How do i fix that?
Hello Howard,
Could you access SWARM main folder and, in the Swarm.config
file, check what values are listed for the following variables?
fdsnDataselectURL=
fdsnStationURL=
Thank you.
sure:-
fdsnDataselectURL=http://service.iris.edu/fdsnws/dataselect/1/query
fdsnStationURL=https://fdsnws.raspberryshakedata.com/fdsnws/station/1/query
Thank you Howard.
Can you try by replacing those with:
fdsnDataselectURL=https://data.raspberryshake.org/fdsnws/dataselect/1/query
fdsnStationURL=https://data.raspberryshake.org/fdsnws/station/1/query
And also taking care to replace any other fdsnws.raspberryshakedata.com
instance (if present) with data.raspberryshake.org
?
I can see a populated map with these values.
Nope. Those were the only instances, and changing them didn’t fix the issue.
My config file is pasted below:
alertClip=false
alertClipTimeout=5
alwaysTileHorizontally=false
chooserDividerLocation=200
chooserVisible=true
clipboardMaximized=true
clipboardSizeX=600
clipboardSizeY=600
clipboardVisible=true
clipboardX=250
clipboardY=77
durationA=1.86
durationB=-0.85
durationEnabled=false
fdsnDataselectURL=https://data.raspberryshake.org/fdsnws/dataselect/1/query
fdsnStationURL=https://data.raspberryshake.org/fdsnws/station/1/query
hideStaleChannel=false
hypocenterSource=NONE
kiosk=false
lastPath=C:\Users\howar\OneDrive\Documents\test wave file
layout=Local 5 tiled
loadLayout=false
mapHeight=510
mapLatitude=0.0
mapLineColor=0
mapLineWidth=2
mapLongitude=-180.0
mapMaximized=false
mapPath=mapdata
mapScale=24296.980846221883
mapVisible=false
mapWidth=600
mapX=0
mapY=0
nearestDividerLocation=528
pVelocity=6.0
saveConfig=true
server=RS Community;wws:data.raspberryshake.org:16022:15000:1
server=myShake;wws:10.0.0.79:16032:15000:1
showClip=true
span=24
specificTimeZone=UTC
timeChunk=30
useInstrumentTimeZone=true
useLargeCursor=false
useLocalTimeZone=true
useWMS=false
userTimes=
velocityRatio=1.73
windowMaximized=true
windowSizeX=1920
windowSizeY=1080
windowX=0
windowY=0
wmsLayer=global_mosaic
wmsServer=http://wms.jpl.nasa.gov/wms.cgi
wmsStyles=visual
Hmmm… the dataselect URL and Station URL are blank for the Raspberry Shake Community stations. On “update” it throws a java exception about a malformed URL. Screenshot attached.
pasting the values from the config file, ie
https://data.raspberryshake.org/fdsnws/dataselect/1/query
https://data.raspberryshake.org/fdsnws/station/1/query
into the dialog allows the “update” to run successfully, although not clear why it’s not reading the config file values in the first place. Import from clipboard to Hypo71 yet to be tested.
Update - trying to pick traces now throws errors - it can’t find the data for my station. I see that the query URLs were updated in the config file also. So a step back vs forward.
… so I restored the previous config, restarted swarm and now the values are populated including “localhost” in the URL (screenshot) . Clicking update throws a java error - connection refused. And again when I have 3 sets of picks on the clipboard and try to run Hypo71 it says there are 0 stations. The windows shell window reports: 2025-01-25 11:49:23 ERROR - No location metadata found for RAD5D EHZ AM 00. It will be not be used to calculate solution.
2025-01-25 11:49:23 ERROR - No location metadata found for R9951 EHZ AM 00. It will be not be used to calculate solution.
2025-01-25 11:49:23 ERROR - No location metadata found for R48E1 EHZ AM 00. It will be not be used to calculate solution.
Hello Howard,
Let’s proceed step-by-step. If you’re trying to access our entire FDSNWS network, these steps should do the job:
- Open the
Data Chooser
window from theWindow
menu, as you have done - Create a new
Data Source
by clicking on the relative icon - In the new window that appears, assign it a name as usual, and then go to the
FDSN WS
tab - In this tab, please insert the following:
Dataselect URL https://data.raspberryshake.org/fdsnws/dataselect/1/query
Station URL https://data.raspberryshake.org/fdsnws/station/1/query
- Then, if not already selected, select
Need Update
from the dropdown menu, and then click on theUpdate
button.
It may take a while, but after the process is complete, you should have the entire network list available.
If, instead, you are trying to add your Shake that is connected to your local network, then:
- Open the
Data Chooser
window from theWindow
menu - Create a new
Data Source
by clicking on the relative icon - In the new window that appears, assign it a name as usual, and then go to the
Winston Wave Server
tab - In this tab, please insert the following:
IP Address your Shake local IP address
Port 16032
And you can live the timeout at 15 seconds
.
If any of the above is not working, then I would recommend deleting the current SWARM folder and re-downloading fresh files from the USGS website, as some of them may be corrupted, causing the issues you’re experiencing.
If you require a local metadata file to use, you can search any online Shake on StationView and then download it from the highlighted link:
If, instead, the Shake is not online, you can use one of our templates, available here: Metadata - Instrument Response Files
I did as you suggested in adding the RS FDNWS new data source so I now have several data sources (see screenshot). Can I mix and match between data sources? Which one SHOULD I be using? All I am trying to do is look at my shake alongside the 4 or so nearest ones and try to use swarm to get a rough hypocenter. I really don’t know the difference between the datasets but when I switch to the version of my shake 9951 in either the RS Community dataset or the RS FDNWS dataset is now tells me “no wave data for R9951 EHZ AM 00” and the windows shell says: “2025-02-11 02:47:41 WARN - could not get web service raw data (R9951 EHZ AM 00): Did not get an OK repsonse code (code=502, url=https://data.raspberryshake.org/fdsnws/dataselect/1/query?net=AM&sta=R9951&loc=00&cha=EHZ&start=2025-02-11T19:39:41&end=2025-02-11T19:47:40”
There seem to be unwritten rules for this thing
Hello Howard,
You can find all the FDSN Web Services details in the dedicated page on our manual: FDSN Web Services.
Sometimes 502 errors happen, and it is sufficient to wait a little bit before trying again, with the request that should now be satisfied.
I think that as long as you are using data from instruments of which you have their metadata, it doesn’t really matter if a data source is different. As long as you have their instrument response details, all available data can be appropriately processed to be used to, for example, check for hypocenters, as you are doing.
You should have all you need, in any case, via the RS FDSNWS source, as it gives access to all the data the Shakes in our network have transmitted to our server + all their metadata files.