psyplot / psy-simple

psy-simple: The psyplot plugin for simple visualizations
https://psyplot.github.io/psy-simple
1 stars 3 forks source link

NEW FEATURE: Fix color bounds and others during animation #11

Open Chilipp opened 4 years ago

Chilipp commented 4 years ago

Summary

data-driven formatoptions should be fixed during the animation

Reason

Otherwise the plot limits changes all the time

Detailed explanation

The following formatoptions should be fixed:

Note that this cannot be implemented before https://github.com/psyplot/psyplot/issues/21 is implemented.

Chilipp commented 4 years ago

I also like your idea @MuellerSeb from https://github.com/psyplot/psy-view/issues/11#issuecomment-613550823 to only adjust min and max of the color bounds. This should be easy to implement, too in such a framework. It would not work for the other formatoptions, though

MuellerSeb commented 4 years ago

Another idea would be to check, if value ranges are given with the data: http://cfconventions.org/Data/cf-conventions/cf-conventions-1.8/cf-conventions.html#missing-data

there is a convention for netCDF files including this. I think, that is the standard procedure of ncview.

Chilipp commented 4 years ago

Good idea. You mean the actual_range netCDF attribute?

MuellerSeb commented 4 years ago

yepp! ;-)