Comments (4)
If all experiments have SEED Station Codes defined then we should remove the following lines:
https://github.com/PIC-IRIS/PH5/blob/master/kitchen/ph5tostationxml.py#L518-L519
If some experiments only have PH5 station-ids set, we should only check against the station-id for cases where there is no SEED Station Code. However, ideally all experiments should have a defined SEED Station Code even if it is the same as the Station ID
i.e.
if not station_list[deployment][0] ['seed_station_name_s'] and \
fnmatch.fnmatch(str(station), str(pattern)):
# no seed station code defined so compare against ph5 station-id
l.append(station)
elif fnmatch.fnmatch((station_list[deployment][0]
['seed_station_name_s']), pattern):
l.append(station)
from ph5.
we can change that. In most cases they will be the same so just making it use seed station id for web service makes sense. I'll make those changes
from ph5.
Why not just set both the SEED Station Code and PH5 Station-ID to the same value when they are the same, and then always use the SEED Station Code?
If this is too much of an undertaking, I think it should use the Station-ID only when a SEED Station Code is not defined. For future experiments I would set both values however, even if they are the same.
from ph5.
we can change that. In most cases they will be the same so just making it use seed station id for web service makes sense. I'll make those changes
Can you push this to a separate branch an make a pull request so I can also look it over? We'll want to get into the habit of avoiding pushing directly to master since we are nearing a production release.
from ph5.
Related Issues (20)
- [BUG] SmartSolo software update changed lat/lon format
- Smart Solo Data Formatted as PH5 Contains Duplicated Traces HOT 1
- Remove mstoph5, metadatatoph5 from code stack HOT 2
- [FEATURE] Optimize geo_kef_gen or modify to allow user to specify shot lines HOT 1
- [BUG] ph5_validate fix incorrect errors/warnings HOT 1
- [FEATURE]Improve validation for noven
- [BUG] SmartSolo array table coordinate precision decreased HOT 2
- [BUG] ph5toevt & ph5torec not handling overlapping data correctly HOT 3
- [BUG] ph5availability output for SmartSolo does not cover all expected times HOT 2
- [BUG] ph5toms: Data extraction inconsistent when number of input files is too large HOT 3
- [BUG] pforma is sorting SmartSolo data by file name, not das serial number HOT 6
- [BUG] ph5availability performance HOT 1
- [BUG] segytoph5 throwing exceptions an not running HOT 2
- ph5_validate: ph5.utilities.ph5validate - ERROR: list index out of range HOT 1
- [BUG] ph5availabilty potential duplicating availabilty information HOT 2
- [BUG] Unable to download station response or waveforms
- [FEATURE] Look for ways to have SmartSolo pickup behave like Fairfield pickup
- [BUG] ph5tostationxml fails to produce a response-level stationxml when using NRLv2 responses
- [BUG] Fairfield Experiments Archived Before February 2020 May have incorrect Response information.
- [BUG] ph5toevt: Event table entries with a numeric description_s cause ph5toevt crash with '-x U' HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ph5.