예제 #1
0
-------
animation.FuncAnimation.

"""

plotstart = "2012-07-20"
plotend = "2012-08-20"

Anim = Jiboa.PlotDistributedResults(plotstart,
                                    plotend,
                                    Figsize=(8, 8),
                                    Option=1,
                                    threshold=160,
                                    PlotNumbers=False,
                                    TicksSpacing=1,
                                    Interval=10,
                                    Gauges=False,
                                    cmap='inferno',
                                    Textloc=[0.6, 0.8],
                                    Gaugecolor='red',
                                    ColorScale=2,
                                    IDcolor='blue',
                                    IDsize=25,
                                    gamma=0.08)
#%%
Path = SaveTo + "anim.mov"
Jiboa.SaveAnimation(VideoFormat="mov", Path=Path, SaveFrames=3)
#%% store the result into rasters
# create list of names
src = gdal.Open(FlowAccPath)

# index=pd.date_range(Jiboa.StartDate,Jiboa.EndDate,freq="1H")
예제 #2
0
-------
animation.FuncAnimation.

"""

plotstart = "2009-01-01"
plotend = "2009-02-01"

Anim = Coello.PlotDistributedResults(plotstart,
                                     plotend,
                                     Figsize=(9, 9),
                                     Option=1,
                                     threshold=160,
                                     PlotNumbers=True,
                                     TicksSpacing=5,
                                     Interval=200,
                                     Gauges=True,
                                     cmap='inferno',
                                     Textloc=[0.1, 0.2],
                                     Gaugecolor='red',
                                     ColorScale=1,
                                     IDcolor='blue',
                                     IDsize=25)

#%%
Path = SaveTo + "anim.gif"
Coello.SaveAnimation(VideoFormat="gif", Path=Path, SaveFrames=3)
#%% Save the result into rasters

StartDate = "2009-01-01"
EndDate = "2010-04-20"