Skip to content

Big Picture of plotdata: --onePage versus --column option #20

@falkamelung

Description

@falkamelung

For --onePage (this is the default ) all plots for one period should be plotted on one page. For --column all plots for one period go in one column. The --column-per-page option (Default: all) determines how many columns go on one page.

Additional plot-type options:
precip, regSeismicity,SO2 (from Amy), thermal,VRP (volcanic radiative power)(from Amy),CoulombStress,regCoulombStress (coulomb stress from regional earthquakes)(from Amy),regDynamicStress (from Amy).

How to adjust: plotter_map (see below for current code)?
Apart from all we want several options. A commonly used one will be:
glob, precip, regSeismicity, timeseries, ascending, descending,horizontal, vertical, vectors

Note: we also need an option to plot the seismicity just on the shaded relief.

We could combine plot_type strings for what is showing up on the page:
TimeseriesAscendingDescending
LocationmapPrecipTimeseriesAscendingDescendingHorizontalVerticalVectors, possibly with some shortcuts LoactionmapPrecipTimeseriesVelocityHorzvertVectors

Options for plotting should be for plot_type:

plotdata.timeseries.startDate = 20181001
plotdata.timeseries.symbolColor = 'blue'
plotdata.loacationmap.snwe = 18.0:21.0,-157.0:-155.0
plotdata.velocity.vlim= -10 10
plotdata.velocity.unit= cm/yr
plotdata.vectors.scale = 5

or

--timeseries.startDate=20181001  --timeseries.symbolColor=blue, locationmap.snwe=18.0:21.0,-157.0:-155.0, --velocity.vlim=-10 10 --velocity.unit= cm/yr

For location_map.py, timeseries.py and all other plot functions:

location_map.py --snwe=18.0:21.0,-157.0:-155.0
location_map.py --locationmap.snwe=18.0:21.0,-157.0:-155.0
plotter_map = {
                "velocity": (VelocityPlot, ["ascending", "descending"]),
                "horzvert": (VelocityPlot, ["horizontal", "vertical"]),
                "vectors": (VectorsPlot, ["ascending", "descending","horizontal", "vertical"]),
                "timeseries": [
                    (TimeseriesPlot, ["eos_file_ascending", "eos_file_descending"]),
                    (VelocityPlot, ["ascending", "descending"])
                ],
                "shaded_relief": (ShadedReliefPlot, ["velocity_file"]),  # Example
            }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions