kmaterna / gnss_timeseries_viewers Goto Github PK
View Code? Open in Web Editor NEWUseful GNSS timeseries tools: reading PBO and UNR, getting slopes and seasonal terms and offsets, plotting stacks, and more
Useful GNSS timeseries tools: reading PBO and UNR, getting slopes and seasonal terms and offsets, plotting stacks, and more
reminder: GREP might not work on Windows systems. Better to replace it with Python's re native library. 3 usages.
TODO
gps_tools/file_io/io_usgs.py: table = subprocess.check_output("grep " + station_name + " " + filename, shell=True);
DONE
gps_tools/file_io/io_nota.py: table = subprocess.check_output("grep " + station_name + " " + offset_dir + file_pattern, shell=True);s
gps_tools/file_io/io_magnet_unr.py: "grep -E '" + station_name + " [0-9]{2}[A-Z]{3}[0-9]{2} "+str(mode)+"' " + offsets_file, shell=True);
Also: Replace use of subprocess.grep with Python's native regular-expression library
GREP might not work on Windows systems. Better to replace it with Python's re native library.
io_usgs.py: table = subprocess.check_output("grep " + station_name + " " + filename, shell=True);
For example, the offsets for a given station and network are here:
https://earthquake.usgs.gov/monitoring/gps/SFBayArea/p197
But we don't yet have a pipeline to retrieve them and pull them into the TS reader.
The urls from the GNSS script ("https://data.unavco.org/...") directs to the same page as the gage url ("https://gage-data.earthscope.org/...") but wget breaks down when it tries to go into individual folders.
So, the only thing "get_earthscope_data.sh" is able to download with the current URLs is an index.html file since it can't move down the directories without links breaking. This took a surprisingly long time to figure out, since the displayed webpages are identical! I think this happened with the whole Earthscope merger thing.
Dear kmaterna:
I want to practice this example 。Can you provide some data about the calculation Strain。for example:input_file="../../GPS_POS_DATA/Velocity_Files/NAM08_pbovelfile_feb2018.txt";
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.