fmihpc / analysator

Python based package for analyzing vlsv files produced by Vlasiator
GNU General Public License v2.0
5 stars 32 forks source link

Scaleunits wrapper for old-style compatibility with ionosp. plotting #179

Closed alhom closed 1 year ago

alhom commented 1 year ago

Re-introduced the scaleunits function as a wrapper to the new scaling system.

Also found a module import order bug, fixed.

markusbattarbee commented 1 year ago

Heh, now I also see that in the actual plotter routines, the line before datamap_info.get_scaled_units()reads the datamap unit pre-scaling. So those lines are pointless. :) Perhaps delete them still and then we're good?

alhom commented 1 year ago

Nope, it still gets returns the scaled units according to vscale there, no? Except for plot_ionosphere, where vscale was not used to begin with... :)