Comments (2)
if you have the response files (any response format readable by obspy) - you can set the response_path
to the right directory, and the msnoise config sync
if not, you'd better use the API (here comparing the "stations" column of an input csv file):
from msnoise.api import *
df = pd.read_csv("LargeMEM_winter_serial_coordinates.csv")
db = connect()
for sta in get_stations(db, all=True):
tmp = df[df["station"]==sta.sta]
sta.X = float(tmp["longitude"].values[0])
sta.Y = float(tmp["latitude"].values[0])
sta.coordinates = "DEG"
db.commit()
from msnoise.
Thanks so much Thomas that definitely helps
Best
from msnoise.
Related Issues (20)
- ModuleNotFoundError: No module named 'scipy.fftpack._fftpack HOT 11
- Attempt Rocket-FFT?
- issue when populating data availability from SDS data structure HOT 2
- msnoise stack -r HOT 2
- Import errors with latest werkzeuf and flask versions (msnoise admin) HOT 2
- msnoise cc stack: TypeError due to pandas update HOT 1
- msnoise cc stack -m test fails HOT 3
- msnoise cc stack -m errors HOT 2
- problem with msnoise
- problem about Scan Archive
- problem about config HOT 2
- problem about Populating station table HOT 5
- the issue about c_c jobs HOT 1
- AttributeError: module 'scipy.fftpack' has no attribute 'destroy_zfft_cache' HOT 1
- What does *analysis_duration* controls? HOT 1
- AttributeError: 'DataFrame' object has no attribute 'times' And scary Test HOT 6
- MSNoise - SciPy version compatible HOT 1
- Pandas 2.2.0 and SQL mismatch when importing a database HOT 2
- Scipy boxcar when using PWS HOT 2
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 msnoise.