cate icon indicating copy to clipboard operation
cate copied to clipboard

Need to Display Dates of Animated Map

Open esacci opened this issue 7 years ago • 3 comments

Dear Norman,

I did some code modification, because I needed to display the dates of the animate map, but the code is long and not efficient at all as I don't have access to the folder of the images (I wanted to display directly the date on each images or have access the images references also to display the axis names). I would like to reduce the lines of code in order to use the same function for every animate map I will do. Moreover, with the function innerHTML I can only enter raw data in the parameter, do you know an other function which would permit me the display the output of the function this.current_frame() directly ?

Here you can have the modified code source, I will probably add options, buttons or display needed for the visualization.

esacci avatar May 11 '18 07:05 esacci

Dear Agathe,

Thanks so much for your investigations and contribution! We are currently very stressed with various installation/platform-issue in Cate, so I am lacking the time to dig into your changes. Moreover, it is my colleague Janis (in CC) who is responsible for the animation implementation, but he is on vacation until May 17.

forman avatar May 14 '18 09:05 forman

See also #652

Currently we use built-in Matplotlib (de-fact standard library for Python plotting) functionality to create animations such that these work in a cross-platform way. Note that this has lately been improved to enable the user to create a *.gif animation instead of *.html. See #613. I recon we could improve it to at least enable the user to access intermediate output - a folder with images in it for each frame, that can then be used to alter the images directly and manually create an animation.

I would like to gather what features would be nice to have in an improved animation operation. Both from @Evadzi and @aghenry

JanisGailis avatar May 17 '18 09:05 JanisGailis

And @esacci

forman avatar May 22 '18 11:05 forman