-
Notifications
You must be signed in to change notification settings - Fork 16
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
fdsnws: extended inventory network description causing no-show #90
Comments
You probably mean |
Thanks.. it's a I should also mention that this is set while the file is a fdsnXML file, and then imported to SC. An abbreviated version is attached if it helps. |
I converted the FDSNXML file to SCXML and run fdsnws using the inventory file fdsnxml2inv -f 2X.test.fdsnxml.txt > 2X.test.xml
fdsnws --inventory-db 2X.test.fdsnxml.xml I was able to retrieve inventory information as text, SCXML and FDSNStationXML through the URL http://localhost:8080/fdsnws/station/1/query?nodata=404. Next I created a test database.
and then tried to store the inventory into it which resulted in an error: scdb -i 2X.test.xml -d localhost/seiscomp_inv_test --debug
...
09:35:29 [debug] Found database version v0.13.0
Parsing file '2X.test.xml'...
Time needed to parse XML: 00:00:00.000362
Document object type: Inventory
Total number of objects: 24
Writing Inventory into database
..........09:35:29 [error] execute("insert into Network(_oid,_parent_oid,archive,code,description,end,end_ms,institutions,netClass,region,remark_used,restricted,shared,start,start_ms,type) values (19,4,'','2X','The Vulcan array consists of a short term (~13 day) nodal array targeting the Vulcan Iron-Oxide Copper-Gold (IOCG) prospect. The Vulcan nodal array is part of the South Australian Governments Department of Energy and Mining (DEM) Accelerated Discovery Initiative (ADI) project \'Integrated Exploration Under Deep Cover: Geophysics, Geochronology, Geochemistry\' research collaboration between the University of Adelaide and Fortescue Metals Group (FMG) Resources Pty Ltd. 100 SmartSolo IGU-16HR 3C short period AuScope nodes were deployed in February 2022. All data recorded at 250 Hz, with a preamplifier gain of 24 dB. The aim of the project is to image the local seismic velocity structures in the top 4 km.','2023-11-30 00:00:00',0,'','','','0','0','1','2022-02-09 20:43:55',0,'')") = 1406 (Data too long for column 'description' at row 1)
09:35:29 [error] writing object with type 'Network' failed
.
While writing 11 objects 1 errors occured
Time needed to write 11 objects: 00:00:00.003285 As @gempa-jabe indicated the description is to long and can't be stored into the database. As a result the entire network and it's stations are not written to the DB, see
|
@gempa-stephan, according to your findings I conclude that |
I created a test queue in scmaster.cfg and tested scinv: scinv sync 2X.test.xml --no-keys --debug -H localhost/inv_test Indeed no error is raised. The 2X network is silently dropped. Next I shortened the inventory description and successfully synchronized the network: scinv sync 2X.test.short.xml --no-keys --debug -H localhost/inv_test The output of the first and second run only differs in some debug messages. |
Noticing that FDSNWS won't return any
station
data on a particular network if theinv[0].description
field is:The Vulcan array consists of a short term (~13 day) nodal array targeting the Vulcan Iron-Oxide Copper-Gold (IOCG) prospect. The Vulcan nodal array is part of the South Australian Governments Department of Energy and Mining (DEM) Accelerated Discovery Initiative (ADI) project 'Integrated Exploration Under Deep Cover: Geophysics, Geochronology, Geochemistry' research collaboration between the University of Adelaide and Fortescue Metals Group (FMG) Resources Pty Ltd. 100 SmartSolo IGU-16HR 3C short period AuScope nodes were deployed in February 2022. All data recorded at 250 Hz, with a preamplifier gain of 24 dB. The aim of the project is to image the local seismic velocity structures in the top 4 km.
however this works:
The Vulcan array consists of a short term (~13 day) nodal array targeting the 'Vulcan Iron-Oxide Copper-Gold' (IOCG) prospect
I assume there is a character limit? Or something else I am missing? Seems to import and behave normally otherwise. This one is a bit longer than average so don't recall running into this problem before.
v 6.4.4
The text was updated successfully, but these errors were encountered: