support azimuth output for solid_earth_tides and bulk_plate_motion#851
Merged
yunjunz merged 5 commits intoinsarlab:mainfrom Sep 22, 2022
Merged
support azimuth output for solid_earth_tides and bulk_plate_motion#851yunjunz merged 5 commits intoinsarlab:mainfrom
solid_earth_tides and bulk_plate_motion#851yunjunz merged 5 commits intoinsarlab:mainfrom
Conversation
+ solid_earth_tides.py: - add --comp enu2los / en2az to switch between range / azimuth direction output - use ut.get_unit_vector4comp_of_interest() for --comp projection - support date_list text file as input, as an alternative to the TS HDF5 file - change set_file as optional arg in calc_solid_earth_tides_timeseries() + bulk_plate_motion.py: - add --comp enu2los / en2az to switch between range / azimuth direction output - use ut.get_unit_vector4comp_of_interest() for --comp projection - use lower case "enu" and/or "az" for default output filename - set pmm_file as optional arg in calc_bulk_plate_motion() + utils.utils0.py: - add Coordinate / Orbit sub-section to simplify the Geometry sub-section - add definition with example values for the following angles: los_inc_angle, los_az_angle, orb_az_angle, head_angle - add los2orbit_azimuth_angle() - add azimuth2heading_angle(look_direction) and heading2azimuth_angle(look_direction) - add en2az() - add get_unit_vector4comp_of_interest() - add misregistration2coherence() based on Just & Bamler (1994) + utils.utils.prepare_geo_los_geometry(): change the output from head_angle to los_az_angle. + smallbaselineApp.plot_result: rm '-u cm' for velocity, as it now has datasets with different units, thus, '-u cm' won't work anymore. + del simulation/configSenDesc.txt, as it's not used in the code anymore.
+ objects.timeseries.read(): use single indexing to speedup IO + objects.ionex: move plotting-related modules inside plot_ionex() for more independency + view: update example usage in the comments for (cli)/view.py
+ tsview: fix the mpl.figure.canvas.set_window_title() bug, as reported and fixed by Jiawei Li + use MACRO_CASE for the global variables defined in objects/stack.py and objects/giant.py. Update their usages throughout mintpy repo. + other minor codacy suggestions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of proposed changes
utils.utils0: add more functions to support more flexible ENU to range/azimuth projectionsolid_earth_tides/bulk_plate_motion:--comp enu2los / en2azto switch between range / azimuth direction outpututils0.get_unit_vector4comp_of_interest()above to apply the proper projectionobjects.timeseries.read(): use single indexing to speedup IO
add
richto the formal dependency list, as it's lightweight and prints colorful template content, and will be used more.Reminders