Skip to content
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

Export supplemental gps CSV file #952

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Export supplemental gps CSV file #952

wants to merge 3 commits into from

Commits on Feb 2, 2023

  1. Export supplemental gps CSV file

    When plotting GPS stations and specifying a specific GPS reference station, it would be convenient if an additional CSV file (e.g. reref_gps_X.csv) would be created which tracks the rereferenced velocity values and accounts for any potential unit factor changes. This would make it easier to make separate, supplemental plots independent of MintPy.
    
    For example, in this case, station 70DM is the reference station and I wish to convert the velocities to cm/yr:
    (mintpy) [ssangha@leffe reref]$ more gps_enu2los.csv 
    Site,Lon,Lat,Displacement,Velocity
    7ODM,-117.09358508816442,34.11640732493536,-0.13098726,-0.010960488
    BBRY,-116.88515702033878,34.26427837432715,-0.04806125,-0.0043038945
    P613,-117.04706501804391,34.19618514313232,-0.05000028,-0.0059998427
    (mintpy) [ssangha@leffe reref]$ 
    (mintpy) [ssangha@leffe reref]$ more reref_gps_enu2los.csv 
    Site,Lon,Lat,Displacement,Velocity
    7ODM,-117.09358508816442,34.11640732493536,0.0,0.0
    BBRY,-116.88515702033878,34.26427837432715,0.08292601,0.66565935
    P613,-117.04706501804391,34.19618514313232,0.08098697999999999,0.49606452999999995
    sssangha authored Feb 2, 2023
    Configuration menu
    Copy the full SHA
    dd7e5e9 View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2023

  1. Generalize and clean-up

    Before the updated CSV file was only generated if a reference GPS station were specified. Now, this file is generated and captures at least the unit factor conversion regardless of the specification of a reference GPS station.
    sssangha authored Feb 3, 2023
    Configuration menu
    Copy the full SHA
    737579d View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2023

  1. Configuration menu
    Copy the full SHA
    554f211 View commit details
    Browse the repository at this point in the history