(ts)view: auto-adjust lat/lon decimal places + ignore ex date for time func fit#942
Merged
yunjunz merged 4 commits intoinsarlab:mainfrom Dec 31, 2022
Merged
(ts)view: auto-adjust lat/lon decimal places + ignore ex date for time func fit#942yunjunz merged 4 commits intoinsarlab:mainfrom
(ts)view: auto-adjust lat/lon decimal places + ignore ex date for time func fit#942yunjunz merged 4 commits intoinsarlab:mainfrom
Conversation
+ tsview: ignore the excluded dates while fitting the time-funcs + tsview: print out the specified command if --noverbose, similar to view.py + plot_network: auto-adjust the fig size / dpi for long time-series stack + scripts/load_data_aoi: add ionStack crop/geocode
+ utils.utils0.py: add get_lalo_digit4display() to calculate the the appropriate decimal places for the lat/lon coordinates for displaying puroose, based on the pixel size info in the metadata. + view.plot_slice(): call ut.get_lalo_digit4display() and use it in format_coord() for the status bar. + tsview: call ut.get_lalo_digit4display() in read_init_info() and use it in get_point_coord_str() for the figure title and saved txt file. + tsview: catch error for try/except while calling coord.radar2geo()
(ts)view: auto-adjust lat/lon decimal places + ignore ex date for time func fit
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.py: addget_lalo_digit4display()to calculate the appropriate decimal places for the lat/lon coordinates for displaying purposes, based on the pixel size info in the metadata.view.plot_slice(): callut.get_lalo_digit4display()and use it informat_coord()for the status bar.tsview: callut.get_lalo_digit4display()inread_init_info()and use it inget_point_coord_str()for the figure title and saved txt file.tsview: ignore the excluded dates while fitting the time-functionstsview: print out the specified command if--noverbose, similar to view.pyplot_network: auto-adjust the fig size / dpi for long time-series stackscripts/load_data_aoi: addionStack.h5file crop/geocodeReminders