Skip to content

Make PR for Plotting Enhancements #452

@justin-richling

Description

@justin-richling

New feature type

New plot and/or plot enhancement

What is this new feature?

Add flexibility for plotting (contour levels, colormap, etc.) based on pressure level and/or plot type (polar vs global)

Update plots for more professional look, ie Zonal and Meridional are very bare boned, lat/lon were missing units, some variables were not getting proper scaling, fit colorbar better to axes and extend if necessary, etc.

Combine Lat/Lon Vector into Lat/Lon code since it was a lot of reused code.

  • NOTE: the calculation for percent difference is currently off for lat/lon vectors plots, so this map is being ignored and vector plots default back to the two cases on top and difference centered below

Add option in variable defaults config for variable nickname; remove all percent diff args in defaults yaml and hard code in plotting script. The user will still have the option to supply these args in the yaml file if default is not desired.

Add option for old NCL color maps

Add units cleaning method to ensure units are always available, this was not enforced throughout the code base.

Add code to resolve levels for hemisphere and resolve colormap in prep_contour_plot

Assistance required?

No, I will make a PR when the feature is ready

Extra info

No response

Metadata

Metadata

Labels

code clean-upMade code simpler and/or easier to read.config filesConcerns the ADF config (YAML) filesenhancementNew feature or requestplottingRelated to plot generation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions