-
Notifications
You must be signed in to change notification settings - Fork 2
/
goes16_conusc_wvh_fixeddisk.py
executable file
·1243 lines (1094 loc) · 84.2 KB
/
goes16_conusc_wvh_fixeddisk.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#!/home/poker/miniconda3/envs/goes16_201710/bin/python
import netCDF4
import numpy as np
import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt
import os
#import os.rename
#import os.remove
import shutil
import sys
import datetime
from PIL import Image
aoslogo = Image.open('/home/poker/uw-aoslogo.png')
aoslogoheight = aoslogo.size[1]
aoslogowidth = aoslogo.size[0]
# We need a float array between 0-1, rather than
# a uint8 array between 0-255
aoslogo = np.array(aoslogo).astype(np.float) / 255
band="08"
filechar=['AA','AB','AC','AD','AE','AF','AG','AH','AI','AJ','AK','AL','AM',
'AN','AO','AP','AQ','AR','AS','AT','AU','AV','AW','AX','AY','AZ',
'BA','BB','BC','BD','BE','BF','BG','BH','BI','BJ','BK','BL','BM',
'BN','BO','BP','BQ','BR','BS','BT','BU','BV','BW','BX','BY','BZ']
#print(filechar[1])
prod_id = "TIRE"
#dt="201703051957"
dt = sys.argv[1]
# read in latest file and get time
e = netCDF4.Dataset("/weather/data/goes16/"+prod_id+"/"+band+"/latest.nc")
print(e)
dtjulian = e.start_date_time[:-2]
print(dtjulian)
dt = datetime.datetime.strptime(dtjulian,'%Y%j%H%M').strftime('%Y%m%d%H%M')
print (dt)
print ("/weather/data/goes16/"+prod_id+"/"+band+"/"+dt+"_PAA.nc")
#f = netCDF4.Dataset("/weather/data/goes16/TIRE/"+band+"/"+dt+"_PAA.nc")
f = netCDF4.Dataset("/weather/data/goes16/"+prod_id+"/"+band+"/"+dt+"_PAA.nc")
a = np.zeros(shape=(f.product_rows,f.product_columns))
xa= np.zeros(shape=(f.product_columns))
ya= np.zeros(shape=(f.product_rows))
print(f)
data_var = f.variables['Sectorized_CMI']
a[0:f.product_tile_height,0:f.product_tile_width] = data_var[:]
#data_var2 = g.variables['Sectorized_CMI']
print(data_var)
x = f.variables['x'][:]
y = f.variables['y'][:]
xa[f.tile_column_offset:f.tile_column_offset+f.product_tile_width] = x[:]
ya[f.tile_row_offset:f.tile_row_offset+f.product_tile_height] = y[:]
if f.number_product_tiles > 1:
# this goes from 1 to number of tiles - 1
for i in range(1,f.number_product_tiles):
# print(filechar[i])
if os.path.isfile("/weather/data/goes16/TIRE/"+band+"/"+dt+"_P"+filechar[i]+".nc"):
g = netCDF4.Dataset("/weather/data/goes16/TIRE/"+band+"/"+dt+"_P"+filechar[i]+".nc")
# print(g)
data_var2 = g.variables['Sectorized_CMI']
a[g.tile_row_offset:g.tile_row_offset+g.product_tile_height,g.tile_column_offset:g.tile_column_offset+g.product_tile_width]=data_var2[:]
x = g.variables['x'][:]
y = g.variables['y'][:]
xa[g.tile_column_offset:g.tile_column_offset+g.product_tile_width] = x[:]
ya[g.tile_row_offset:g.tile_row_offset+g.product_tile_height] = y[:]
g.close
#a[g.tile_column_offset:g.tile_column_offset+g.product_tile_width,g.tile_row_offset:g.tile_row_offset+g.product_tile_height]=data_var[:]
a[g.tile_row_offset:g.tile_row_offset+g.product_tile_height,g.tile_column_offset:g.tile_column_offset+g.product_tile_width]=data_var2[:]
#print(a)
# swap zeros for ones
# a[a==0.] = 1.
#
#print(np.average(a))
#if np.average(a) > 0.7:
# quit()
xa=xa*35.785831
ya=ya*35.785831
proj_var = f.variables[data_var.grid_mapping]
import cartopy.crs as ccrs
### OLD ###
# Create a Globe specifying a spherical earth with the correct radius
#globe = ccrs.Globe(ellipse='sphere', semimajor_axis=proj_var.semi_major,
# semiminor_axis=proj_var.semi_minor)
#
#proj = ccrs.LambertConformal(central_longitude=proj_var.longitude_of_central_meridian,
# central_latitude=proj_var.latitude_of_projection_origin,
# standard_parallels=[proj_var.standard_parallel],
# globe=globe)
globe = ccrs.Globe(semimajor_axis=6378137.,semiminor_axis=6356752.)
proj = ccrs.Geostationary(central_longitude=-75.0,
satellite_height=35785831,
globe=globe,sweep_axis='x')
image_rows=f.product_rows
image_columns=f.product_columns
wi_image_crop_top=48
wi_image_crop_bottom=-1153
wi_image_crop_left=1040
wi_image_crop_right=-990
wi_image_size_y=(image_rows+wi_image_crop_bottom-wi_image_crop_top)
wi_image_size_x=(image_columns+wi_image_crop_right-wi_image_crop_left)
print("wi image size")
print(wi_image_size_x, wi_image_size_y)
#wi_image_size_x=float(wi_image_size_x)/120.
#wi_image_size_y=float(wi_image_size_y)/120.
wi_image_size_x=float(wi_image_size_x)/40.
wi_image_size_y=float(wi_image_size_y)/40.
mw_image_crop_top=23
mw_image_crop_bottom=-953
mw_image_crop_left=775
mw_image_crop_right=-978
mw_image_size_y=(image_rows+mw_image_crop_bottom-mw_image_crop_top)
mw_image_size_x=(image_columns+mw_image_crop_right-mw_image_crop_left)
print("mw image size")
print(mw_image_size_x, mw_image_size_y)
mw_image_size_x=float(mw_image_size_x)/75.
mw_image_size_y=float(mw_image_size_y)/75.
ne_image_crop_top=25
ne_image_crop_bottom=-725
ne_image_crop_left=1275
ne_image_crop_right=-125
ne_image_size_y=(image_rows+ne_image_crop_bottom-ne_image_crop_top)
ne_image_size_x=(image_columns+ne_image_crop_right-ne_image_crop_left)
print("ne image size")
print(ne_image_size_x, ne_image_size_y)
ne_image_size_x=float(ne_image_size_x)/100.
ne_image_size_y=float(ne_image_size_y)/100.
conus_image_crop_top=0
conus_image_crop_bottom=0
conus_image_crop_left=0
conus_image_crop_right=0
conus_image_size_y=(image_rows+conus_image_crop_bottom-conus_image_crop_top)
conus_image_size_x=(image_columns+conus_image_crop_right-conus_image_crop_left)
print("conus image size")
print(conus_image_size_x, conus_image_size_y)
conus_image_size_x=float(conus_image_size_x)/150.
conus_image_size_y=float(conus_image_size_y)/150.
gulf_image_crop_top=428
gulf_image_crop_bottom=-5
gulf_image_crop_left=649
gulf_image_crop_right=-76
gulf_image_size_y=(image_rows+gulf_image_crop_bottom-gulf_image_crop_top)
gulf_image_size_x=(image_columns+gulf_image_crop_right-gulf_image_crop_left)
print("gulf image size")
print(gulf_image_size_x, gulf_image_size_y)
gulf_image_size_x=float(gulf_image_size_x)/60.
gulf_image_size_y=float(gulf_image_size_y)/60.
sw_image_crop_top=300
sw_image_crop_bottom=-750
sw_image_crop_left=1
sw_image_crop_right=-1761
sw_image_size_y=(image_rows+sw_image_crop_bottom-sw_image_crop_top)
sw_image_size_x=(image_columns+sw_image_crop_right-sw_image_crop_left)
print("sw image size")
print(sw_image_size_x, sw_image_size_y)
sw_image_size_x=float(sw_image_size_x)/10.
sw_image_size_y=float(sw_image_size_y)/10.
nw_image_crop_top=20
nw_image_crop_bottom=-1080
nw_image_crop_left=101
nw_image_crop_right=-1701
nw_image_size_y=(image_rows+nw_image_crop_bottom-nw_image_crop_top)
nw_image_size_x=(image_columns+nw_image_crop_right-nw_image_crop_left)
print("nw image size")
print(nw_image_size_x, nw_image_size_y)
nw_image_size_x=float(sw_image_size_x)/10.
nw_image_size_y=float(sw_image_size_y)/10.
gtlakes_image_crop_top=4
gtlakes_image_crop_bottom=-1080
gtlakes_image_crop_left=1141
gtlakes_image_crop_right=-661
gtlakes_image_size_y=(image_rows+gtlakes_image_crop_bottom-gtlakes_image_crop_top)
gtlakes_image_size_x=(image_columns+gtlakes_image_crop_right-gtlakes_image_crop_left)
print("gtlakes image size")
print(gtlakes_image_size_x, gtlakes_image_size_y)
gtlakes_image_size_x=float(gtlakes_image_size_x)/10.
gtlakes_image_size_y=float(gtlakes_image_size_y)/10.
# Create a new figure with size 10" by 10"
# Wisconsin Crop
fig = plt.figure(figsize=(16.,10.17))
# Midwest crop
fig2 = plt.figure(figsize=(18.,12.62))
# CONUS
fig3 = plt.figure(figsize=(20.,11.987))
# Northeast crop
fig4 = plt.figure(figsize=(18.,12.27))
# Gulf of Mexico region
fig8 = plt.figure(figsize=(30.,18.026))
fig9 = plt.figure(figsize=(image_columns/80.,image_rows/80.))
# Southwest US
fig13 = plt.figure(figsize=(18.,10.98))
# Northwest US
fig14 = plt.figure(figsize=(18.,10.32))
# GreatLakes
fig15 = plt.figure(figsize=(18.,10.73))
# Put a single axes on this figure; set the projection for the axes to be our
# Lambert conformal projection
ax = fig.add_subplot(1, 1, 1, projection=proj)
ax.outline_patch.set_edgecolor('none')
ax2 = fig2.add_subplot(1, 1, 1, projection=proj)
ax2.outline_patch.set_edgecolor('none')
ax3 = fig3.add_subplot(1, 1, 1, projection=proj)
ax3.outline_patch.set_edgecolor('none')
ax4 = fig4.add_subplot(1, 1, 1, projection=proj)
ax4.outline_patch.set_edgecolor('none')
ax8 = fig8.add_subplot(1, 1, 1, projection=proj)
ax8.outline_patch.set_edgecolor('none')
ax9 = fig9.add_subplot(1, 1, 1, projection=proj)
ax9.outline_patch.set_edgecolor('none')
ax13 = fig13.add_subplot(1, 1, 1, projection=proj)
ax13.outline_patch.set_edgecolor('none')
ax14 = fig14.add_subplot(1, 1, 1, projection=proj)
ax14.outline_patch.set_edgecolor('none')
ax15 = fig15.add_subplot(1, 1, 1, projection=proj)
ax15.outline_patch.set_edgecolor('none')
cdict = {'red': ((0.0, 1.0, 1.0),
(0.29, 1.00, 1.00),
(0.61, 0.0, 0.0),
(1.0, 0.0, 0.0)),
'green': ((0.0, 1.0, 1.0),
(0.29, 1.00, 1.00),
(0.61, 0.0, 0.0),
(1.0, 0.0, 0.0)),
'blue': ((0.0, 1.0, 1.0),
(0.29, 1.00, 1.00),
(0.61, 0.0, 0.0),
(1.0, 0.0, 0.0))}
import matplotlib as mpl
my_cmap = mpl.colors.LinearSegmentedColormap('my_colormap',cdict,2048)
cdict2 = {'red': ((0.0, 0.0, 0.0),
(0.208, 0.0, 0.0),
(0.379, 1.0, 1.0),
(0.483, 0.0, 0.0),
(0.572, 1.0, 1.0),
(0.667, 0.0, 0.0),
(1.0, 0.0, 0.0)),
'green': ((0.0, 1.0, 1.0),
(0.208, .423, .423),
(0.379, 1.0, 1.0),
(0.483, 0.0, 0.0),
(0.572, 1.0, 1.0),
(0.667, 0.0, 0.0),
(1.0, 0.0, 0.0)),
'blue': ((0.0, 1.0, 1.0),
(0.208, 0.0, 0.0),
(0.379, 1.0, 1.0),
(0.483,0.651, 0.651),
(0.572, 0.0, 0.0),
(0.667, 0.0, 0.0),
(1.0, 0.0, 0.0))}
cdict3 = {'red': ((0.0, 0.0, 0.0),
(0.290, 0.263, .263),
(0.385, 1.0, 1.0),
(0.475, 0.443, .443),
(0.515, 0.0, 0.0),
(0.575, 1.0, 1.0),
(0.664, 1.0, 1.0),
(1.0, 0.0, 0.0)),
'green': ((0.0, 0.0, 0.0),
(0.290, .513, .513),
(0.385, 1.0, 1.0),
(0.475, .443, .443),
(0.515, 0., 0.0),
(0.575, 1.0, 1.0),
(0.664, 0.0, 0.0),
(1.0, 0.0, 0.0)),
'blue': ((0.0, 0.0, 0.0),
(0.290, .137, .137),
(0.385, 1.0, 1.0),
(0.475,0.694, 0.694),
(0.515, .451, .451),
(0.552, 0.0, 0.0),
(0.664, 0.0, 0.0),
(1.0, 0.0, 0.0))}
my_cmap2 = mpl.colors.LinearSegmentedColormap('my_colormap2',cdict3,2048)
# Plot the data using a simple greyscale colormap (with black for low values);
# set the colormap to extend over a range of values from 140 to 255.
# Note, we save the image returned by imshow for later...
#im = ax.imshow(data_var[:], extent=(x[0], x[-1], y[0], y[-1]), origin='upper',
# cmap='Greys_r', norm=plt.Normalize(0, 256))
#im = ax.imshow(data_var[:], extent=(x[0], x[-1], y[0], y[-1]), origin='upper',
#im = ax.imshow(a[:], extent=(xa[0], xa[-1], ya[-1], ya[0]), origin='upper',
# cmap='Greys_r')
#im = ax.imshow(a[250:-3000,2000:-2000], extent=(xa[2000],xa[-2000],ya[-3000],ya[250]), origin='upper',cmap='Greys_r')
#im = ax.imshow(a[250:-3500,2500:-2200], extent=(xa[2500],xa[-2200],ya[-3500],ya[250]), origin='upper',cmap='Greys_r')
#im = ax.imshow(data_var[:], extent=(x[0], x[-1], y[0], y[-1]), origin='upper')
#im = ax2.imshow(a[:], extent=(xa[1],xa[-1],ya[-1],ya[1]), origin='upper', cmap='Greys_r')
im = ax.imshow(a[wi_image_crop_top:wi_image_crop_bottom,wi_image_crop_left:wi_image_crop_right], extent=(xa[wi_image_crop_left],xa[wi_image_crop_right],ya[wi_image_crop_bottom],ya[wi_image_crop_top]), origin='upper',cmap=my_cmap2, vmin=162., vmax=330.0)
im = ax2.imshow(a[mw_image_crop_top:mw_image_crop_bottom,mw_image_crop_left:mw_image_crop_right], extent=(xa[mw_image_crop_left],xa[mw_image_crop_right],ya[mw_image_crop_bottom],ya[mw_image_crop_top]), origin='upper',cmap=my_cmap2, vmin=162., vmax=330.0)
im = ax3.imshow(a[:], extent=(xa[0],xa[-1],ya[-1],ya[0]), origin='upper',cmap=my_cmap2, vmin=162., vmax=330.0)
im = ax4.imshow(a[ne_image_crop_top:ne_image_crop_bottom,ne_image_crop_left:ne_image_crop_right], extent=(xa[ne_image_crop_left],xa[ne_image_crop_right],ya[ne_image_crop_bottom],ya[ne_image_crop_top]), origin='upper',cmap=my_cmap2, vmin=162., vmax=330.0)
im = ax8.imshow(a[gulf_image_crop_top:gulf_image_crop_bottom,gulf_image_crop_left:gulf_image_crop_right], extent=(xa[gulf_image_crop_left],xa[gulf_image_crop_right],ya[gulf_image_crop_bottom],ya[gulf_image_crop_top]), origin='upper',cmap=my_cmap2, vmin=162., vmax=330.0)
im = ax9.imshow(a[:], extent=(xa[1],xa[-1],ya[-1],ya[1]), origin='upper', cmap=my_cmap2, vmin=162., vmax=330.0)
im = ax13.imshow(a[sw_image_crop_top:sw_image_crop_bottom,sw_image_crop_left:sw_image_crop_right], extent=(xa[sw_image_crop_left],xa[sw_image_crop_right],ya[sw_image_crop_bottom],ya[sw_image_crop_top]), origin='upper',cmap=my_cmap2, vmin=162., vmax=330.0)
im = ax14.imshow(a[nw_image_crop_top:nw_image_crop_bottom,nw_image_crop_left:nw_image_crop_right], extent=(xa[nw_image_crop_left],xa[nw_image_crop_right],ya[nw_image_crop_bottom],ya[nw_image_crop_top]), origin='upper',cmap=my_cmap2, vmin=162., vmax=330.0)
im = ax15.imshow(a[gtlakes_image_crop_top:gtlakes_image_crop_bottom,gtlakes_image_crop_left:gtlakes_image_crop_right], extent=(xa[gtlakes_image_crop_left],xa[gtlakes_image_crop_right],ya[gtlakes_image_crop_bottom],ya[gtlakes_image_crop_top]), origin='upper',cmap=my_cmap2, vmin=162., vmax=330.0)
import cartopy.feature as cfeat
ax.coastlines(resolution='50m', color='green')
ax2.coastlines(resolution='50m', color='green')
ax3.coastlines(resolution='50m', color='green')
ax4.coastlines(resolution='50m', color='green')
ax8.coastlines(resolution='50m', color='green')
ax9.coastlines(resolution='50m', color='green')
ax13.coastlines(resolution='50m', color='green')
ax14.coastlines(resolution='50m', color='green')
ax15.coastlines(resolution='50m', color='green')
# Add country borders with a thick line.
ax.add_feature(cfeat.BORDERS, linewidth='1', edgecolor='green')
ax2.add_feature(cfeat.BORDERS, linewidth='1', edgecolor='green')
ax3.add_feature(cfeat.BORDERS, linewidth='1', edgecolor='green')
ax4.add_feature(cfeat.BORDERS, linewidth='1', edgecolor='green')
ax8.add_feature(cfeat.BORDERS, linewidth='1', edgecolor='green')
ax9.add_feature(cfeat.BORDERS, linewidth='1', edgecolor='green')
ax13.add_feature(cfeat.BORDERS, linewidth='1', edgecolor='green')
ax14.add_feature(cfeat.BORDERS, linewidth='1', edgecolor='green')
ax15.add_feature(cfeat.BORDERS, linewidth='1', edgecolor='green')
# Set up a feature for the state/province lines. Tell cartopy not to fill in the polygons
state_boundaries = cfeat.NaturalEarthFeature(category='cultural',
name='admin_1_states_provinces_lakes',
scale='50m', facecolor='none', edgecolor='red')
# Add the feature with dotted lines, denoted by ':'
ax.add_feature(state_boundaries, linestyle=':')
ax2.add_feature(state_boundaries, linestyle=':')
ax3.add_feature(state_boundaries, linestyle=':')
ax4.add_feature(state_boundaries, linestyle=':')
ax8.add_feature(state_boundaries, linestyle=':')
ax9.add_feature(state_boundaries, linestyle=':')
ax13.add_feature(state_boundaries, linestyle=':')
ax14.add_feature(state_boundaries, linestyle=':')
ax15.add_feature(state_boundaries, linestyle=':')
# axes for wi
cbaxes1 = fig.add_axes([0.135,0.12,0.755,0.02])
cbar1 = fig.colorbar(im, cax=cbaxes1, orientation='horizontal')
font_size = 14
#cbar1.set_label('Brightness Temperature (K)',size=18)
cbar1.ax.tick_params(labelsize=font_size)
cbar1.ax.xaxis.set_ticks_position('top')
cbar1.ax.xaxis.set_label_position('top')
# axes for mw
cbaxes2 = fig2.add_axes([0.135,0.12,0.755,0.02])
cbar2 = fig2.colorbar(im, cax=cbaxes2, orientation='horizontal')
font_size = 14
#cbar2.set_label('Brightness Temperature (K)',size=18)
cbar2.ax.tick_params(labelsize=font_size)
cbar2.ax.xaxis.set_ticks_position('top')
cbar2.ax.xaxis.set_label_position('top')
# axes for conus
cbaxes3 = fig3.add_axes([0.135,0.12,0.755,0.02])
cbar3 = fig3.colorbar(im, cax=cbaxes3, orientation='horizontal')
font_size = 14
#cbar3.set_label('Brightness Temperature (K)',size=18)
cbar3.ax.tick_params(labelsize=font_size)
cbar3.ax.xaxis.set_ticks_position('top')
cbar3.ax.xaxis.set_label_position('top')
# axes for ne
cbaxes4 = fig4.add_axes([0.135,0.12,0.755,0.02])
cbar4 = fig4.colorbar(im, cax=cbaxes4, orientation='horizontal')
font_size = 14
#cbar4.set_label('Brightness Temperature (K)',size=18)
cbar4.ax.tick_params(labelsize=font_size)
cbar4.ax.xaxis.set_ticks_position('top')
cbar4.ax.xaxis.set_label_position('top')
# axes for gulf
cbaxes8 = fig8.add_axes([0.135,0.12,0.755,0.02])
cbar8 = fig8.colorbar(im, cax=cbaxes8, orientation='horizontal')
font_size = 14
#cbar4.set_label('Brightness Temperature (K)',size=18)
cbar8.ax.tick_params(labelsize=font_size)
cbar8.ax.xaxis.set_ticks_position('top')
cbar8.ax.xaxis.set_label_position('top')
# axes for full
cbaxes9 = fig9.add_axes([0.135,0.15,0.755,0.02])
cbar9 = fig9.colorbar(im, cax=cbaxes9, orientation='horizontal')
font_size = 18
#cbar9.set_label('Brightness Temperature (K)',size=18)
cbar9.ax.tick_params(labelsize=font_size)
cbar9.ax.xaxis.set_ticks_position('top')
cbar9.ax.xaxis.set_label_position('top')
# axes for sw
cbaxes13 = fig13.add_axes([0.135,0.12,0.755,0.02])
cbar13 = fig13.colorbar(im, cax=cbaxes13, orientation='horizontal')
font_size = 14
#cbar13.set_label('Brightness Temperature (K)',size=18)
cbar13.ax.tick_params(labelsize=font_size)
cbar13.ax.xaxis.set_ticks_position('top')
cbar13.ax.xaxis.set_label_position('top')
# axes for nw
cbaxes14 = fig14.add_axes([0.135,0.12,0.755,0.02])
cbar14 = fig14.colorbar(im, cax=cbaxes14, orientation='horizontal')
font_size = 14
#cbar14.set_label('Brightness Temperature (K)',size=18)
cbar14.ax.tick_params(labelsize=font_size)
cbar14.ax.xaxis.set_ticks_position('top')
cbar14.ax.xaxis.set_label_position('top')
# axes for gtlakes
cbaxes15 = fig15.add_axes([0.135,0.12,0.755,0.02])
cbar15 = fig15.colorbar(im, cax=cbaxes15, orientation='horizontal')
font_size = 14
#cbar15.set_label('Brightness Temperature (K)',size=18)
cbar15.ax.tick_params(labelsize=font_size)
cbar15.ax.xaxis.set_ticks_position('top')
cbar15.ax.xaxis.set_label_position('top')
# Redisplay modified figure
#fig
#fig2
time_var = f.start_date_time
jyr = time_var[0:4]
jday = time_var[4:7]
#print(jday)
date = datetime.datetime(int(jyr), 1, 1) + datetime.timedelta(int(jday)-1)
time_string = 'GOES16 Upper-level Water Vapor (ABI ch 8)valid %s '%date.strftime('%Y %b %d')+time_var[7:9]+":"+time_var[9:11]+":"+time_var[11:13]+" GMT"
print(time_string)
from matplotlib import patheffects
outline_effect = [patheffects.withStroke(linewidth=2, foreground='black')]
#2017/065 20:04:00:30
text = ax.text(0.50, 0.97, time_string,
horizontalalignment='center', transform = ax.transAxes,
color='yellow', fontsize='large', weight='bold')
text.set_path_effects(outline_effect)
text2 = ax2.text(0.50, 0.97, time_string,
horizontalalignment='center', transform = ax2.transAxes,
color='yellow', fontsize='large', weight='bold')
text2.set_path_effects(outline_effect)
text3 = ax3.text(0.50, 0.97, time_string,
horizontalalignment='center', transform = ax3.transAxes,
color='yellow', fontsize='large', weight='bold')
text3.set_path_effects(outline_effect)
text4 = ax4.text(0.50, 0.97, time_string,
horizontalalignment='center', transform = ax4.transAxes,
color='yellow', fontsize='large', weight='bold')
text4.set_path_effects(outline_effect)
text8 = ax8.text(0.50, 0.97, time_string,
horizontalalignment='center', transform = ax8.transAxes,
color='yellow', fontsize='large', weight='bold')
text8.set_path_effects(outline_effect)
text9 = ax9.text(0.50, 0.97, time_string,
horizontalalignment='center', transform = ax9.transAxes,
color='black', fontsize='large', weight='bold')
text9.set_path_effects(outline_effect)
text13 = ax13.text(0.50, 0.97, time_string,
horizontalalignment='center', transform = ax13.transAxes,
color='yellow', fontsize='large', weight='bold')
text13.set_path_effects(outline_effect)
text14 = ax14.text(0.50, 0.97, time_string,
horizontalalignment='center', transform = ax14.transAxes,
color='yellow', fontsize='large', weight='bold')
text14.set_path_effects(outline_effect)
text15 = ax15.text(0.50, 0.97, time_string,
horizontalalignment='center', transform = ax15.transAxes,
color='yellow', fontsize='large', weight='bold')
text15.set_path_effects(outline_effect)
filename1="/whirlwind/goes16/wvh/wi/"+dt+"_wi.jpg"
filename2="/whirlwind/goes16/wvh/mw/"+dt+"_mw.jpg"
filename3="/whirlwind/goes16/wvh/conus/"+dt+"_conus.jpg"
filename4="/whirlwind/goes16/wvh/ne/"+dt+"_ne.jpg"
filename8="/whirlwind/goes16/wvh/gulf/"+dt+"_gulf.jpg"
filename9="/whirlwind/goes16/wvh/full/"+dt+"_full.jpg"
filename13="/whirlwind/goes16/wvh/sw/"+dt+"_sw.jpg"
filename14="/whirlwind/goes16/wvh/nw/"+dt+"_nw.jpg"
filename15="/whirlwind/goes16/wvh/gtlakes/"+dt+"_gtlakes.jpg"
isize = fig.get_size_inches()*fig.dpi
ysize=int(isize[1]*0.97)
fig.figimage(aoslogo, 0, ysize - aoslogoheight , zorder=10)
isize = fig2.get_size_inches()*fig2.dpi
ysize=int(isize[1]*0.97)
fig2.figimage(aoslogo, 0, ysize - aoslogoheight , zorder=10)
isize = fig3.get_size_inches()*fig3.dpi
ysize=int(isize[1]*0.97)
fig3.figimage(aoslogo, 0, ysize - aoslogoheight , zorder=10)
isize = fig4.get_size_inches()*fig4.dpi
ysize=int(isize[1]*0.97)
fig4.figimage(aoslogo, 0, ysize - aoslogoheight , zorder=10)
isize = fig8.get_size_inches()*fig8.dpi
ysize=int(isize[1]*0.97)
fig8.figimage(aoslogo, 0, ysize - aoslogoheight , zorder=10)
isize = fig9.get_size_inches()*fig9.dpi
ysize=int(isize[1]*0.97)
fig9.figimage(aoslogo, 0, ysize - aoslogoheight , zorder=10)
isize = fig13.get_size_inches()*fig13.dpi
ysize=int(isize[1]*0.97)
fig13.figimage(aoslogo, 0, ysize - aoslogoheight , zorder=10)
isize = fig14.get_size_inches()*fig14.dpi
ysize=int(isize[1]*0.97)
fig14.figimage(aoslogo, 0, ysize - aoslogoheight , zorder=10)
isize = fig15.get_size_inches()*fig15.dpi
ysize=int(isize[1]*0.97)
fig15.figimage(aoslogo, 0, ysize - aoslogoheight , zorder=10)
fig.savefig(filename1, bbox_inches='tight', pad_inches=0)
fig2.savefig(filename2, bbox_inches='tight', pad_inches=0)
#fig2.savefig(filename2jpg, bbox_inches='tight')
fig3.savefig(filename3, bbox_inches='tight', pad_inches=0)
fig4.savefig(filename4, bbox_inches='tight', pad_inches=0)
fig8.savefig(filename8, bbox_inches='tight', pad_inches=0)
fig9.savefig(filename9, bbox_inches='tight', pad_inches=0)
fig13.savefig(filename13, bbox_inches='tight', pad_inches=0)
fig14.savefig(filename14, bbox_inches='tight', pad_inches=0)
fig15.savefig(filename15, bbox_inches='tight', pad_inches=0)
#quit()
#import os.rename # os.rename(src,dest)
#import os.remove # os.remove path
#import shutil.copy # shutil.copy(src, dest)
def silentremove(filename):
try:
os.remove(filename)
except OSError:
pass
def silentrename(filename1, filename2):
try:
os.rename(filename1, filename2)
except OSError:
pass
silentremove("/whirlwind/goes16/wvh/wi/latest_wi_72.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_71.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_72.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_70.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_71.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_69.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_70.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_68.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_69.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_67.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_68.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_66.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_67.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_65.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_66.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_64.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_65.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_63.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_64.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_62.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_63.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_61.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_62.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_60.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_61.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_59.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_60.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_58.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_59.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_57.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_58.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_56.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_57.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_55.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_56.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_54.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_55.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_53.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_54.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_52.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_53.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_51.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_52.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_50.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_51.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_49.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_50.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_48.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_49.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_47.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_48.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_46.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_47.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_45.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_46.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_44.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_45.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_43.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_44.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_42.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_43.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_41.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_42.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_40.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_41.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_39.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_40.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_38.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_39.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_37.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_38.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_36.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_37.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_35.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_36.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_34.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_35.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_33.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_34.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_32.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_33.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_31.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_32.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_30.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_31.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_29.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_30.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_28.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_29.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_27.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_28.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_26.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_27.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_25.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_26.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_24.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_25.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_23.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_24.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_22.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_23.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_21.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_22.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_20.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_21.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_19.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_20.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_18.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_19.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_17.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_18.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_16.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_17.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_15.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_16.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_14.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_15.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_13.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_14.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_12.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_13.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_11.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_12.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_10.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_11.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_9.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_10.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_8.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_9.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_7.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_8.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_6.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_7.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_5.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_6.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_4.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_5.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_3.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_4.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_2.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_3.jpg")
silentrename("/whirlwind/goes16/wvh/wi/latest_wi_1.jpg", "/whirlwind/goes16/wvh/wi/latest_wi_2.jpg")
shutil.copy(filename1, "/whirlwind/goes16/wvh/wi/latest_wi_1.jpg")
silentremove("/whirlwind/goes16/wvh/mw/latest_mw_72.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_71.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_72.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_70.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_71.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_69.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_70.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_68.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_69.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_67.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_68.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_66.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_67.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_65.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_66.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_64.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_65.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_63.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_64.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_62.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_63.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_61.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_62.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_60.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_61.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_59.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_60.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_58.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_59.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_57.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_58.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_56.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_57.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_55.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_56.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_54.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_55.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_53.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_54.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_52.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_53.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_51.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_52.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_50.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_51.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_49.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_50.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_48.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_49.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_47.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_48.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_46.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_47.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_45.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_46.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_44.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_45.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_43.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_44.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_42.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_43.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_41.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_42.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_40.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_41.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_39.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_40.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_38.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_39.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_37.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_38.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_36.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_37.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_35.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_36.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_34.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_35.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_33.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_34.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_32.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_33.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_31.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_32.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_30.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_31.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_29.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_30.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_28.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_29.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_27.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_28.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_26.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_27.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_25.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_26.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_24.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_25.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_23.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_24.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_22.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_23.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_21.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_22.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_20.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_21.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_19.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_20.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_18.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_19.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_17.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_18.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_16.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_17.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_15.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_16.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_14.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_15.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_13.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_14.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_12.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_13.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_11.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_12.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_10.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_11.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_9.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_10.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_8.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_9.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_7.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_8.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_6.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_7.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_5.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_6.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_4.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_5.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_3.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_4.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_2.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_3.jpg")
silentrename("/whirlwind/goes16/wvh/mw/latest_mw_1.jpg", "/whirlwind/goes16/wvh/mw/latest_mw_2.jpg")
shutil.copy(filename2, "/whirlwind/goes16/wvh/mw/latest_mw_1.jpg")
silentremove("/whirlwind/goes16/wvh/ne/latest_ne_72.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_71.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_72.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_70.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_71.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_69.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_70.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_68.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_69.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_67.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_68.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_66.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_67.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_65.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_66.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_64.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_65.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_63.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_64.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_62.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_63.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_61.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_62.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_60.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_61.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_59.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_60.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_58.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_59.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_57.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_58.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_56.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_57.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_55.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_56.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_54.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_55.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_53.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_54.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_52.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_53.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_51.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_52.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_50.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_51.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_49.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_50.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_48.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_49.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_47.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_48.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_46.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_47.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_45.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_46.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_44.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_45.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_43.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_44.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_42.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_43.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_41.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_42.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_40.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_41.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_39.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_40.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_38.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_39.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_37.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_38.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_36.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_37.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_35.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_36.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_34.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_35.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_33.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_34.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_32.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_33.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_31.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_32.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_30.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_31.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_29.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_30.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_28.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_29.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_27.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_28.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_26.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_27.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_25.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_26.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_24.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_25.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_23.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_24.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_22.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_23.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_21.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_22.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_20.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_21.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_19.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_20.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_18.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_19.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_17.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_18.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_16.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_17.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_15.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_16.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_14.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_15.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_13.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_14.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_12.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_13.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_11.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_12.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_10.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_11.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_9.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_10.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_8.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_9.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_7.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_8.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_6.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_7.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_5.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_6.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_4.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_5.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_3.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_4.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_2.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_3.jpg")
silentrename("/whirlwind/goes16/wvh/ne/latest_ne_1.jpg", "/whirlwind/goes16/wvh/ne/latest_ne_2.jpg")
shutil.copy(filename4, "/whirlwind/goes16/wvh/ne/latest_ne_1.jpg")
silentremove("/whirlwind/goes16/wvh/conus/latest_conus_72.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_71.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_72.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_70.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_71.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_69.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_70.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_68.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_69.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_67.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_68.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_66.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_67.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_65.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_66.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_64.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_65.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_63.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_64.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_62.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_63.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_61.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_62.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_60.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_61.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_59.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_60.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_58.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_59.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_57.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_58.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_56.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_57.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_55.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_56.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_54.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_55.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_53.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_54.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_52.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_53.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_51.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_52.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_50.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_51.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_49.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_50.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_48.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_49.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_47.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_48.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_46.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_47.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_45.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_46.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_44.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_45.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_43.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_44.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_42.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_43.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_41.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_42.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_40.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_41.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_39.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_40.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_38.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_39.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_37.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_38.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_36.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_37.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_35.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_36.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_34.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_35.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_33.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_34.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_32.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_33.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_31.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_32.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_30.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_31.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_29.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_30.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_28.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_29.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_27.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_28.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_26.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_27.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_25.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_26.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_24.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_25.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_23.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_24.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_22.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_23.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_21.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_22.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_20.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_21.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_19.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_20.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_18.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_19.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_17.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_18.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_16.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_17.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_15.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_16.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_14.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_15.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_13.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_14.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_12.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_13.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_11.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_12.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_10.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_11.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_9.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_10.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_8.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_9.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_7.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_8.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_6.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_7.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_5.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_6.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_4.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_5.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_3.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_4.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_2.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_3.jpg")
silentrename("/whirlwind/goes16/wvh/conus/latest_conus_1.jpg", "/whirlwind/goes16/wvh/conus/latest_conus_2.jpg")
shutil.copy(filename3, "/whirlwind/goes16/wvh/conus/latest_conus_1.jpg")
shutil.copy(filename9, "/whirlwind/goes16/wvh/full/latest_full_1.jpg")
# quit()
silentremove("/whirlwind/goes16/wvh/gulf/latest_gulf_72.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_71.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_72.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_70.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_71.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_69.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_70.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_68.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_69.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_67.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_68.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_66.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_67.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_65.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_66.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_64.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_65.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_63.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_64.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_62.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_63.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_61.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_62.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_60.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_61.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_59.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_60.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_58.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_59.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_57.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_58.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_56.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_57.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_55.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_56.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_54.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_55.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_53.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_54.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_52.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_53.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_51.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_52.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_50.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_51.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_49.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_50.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_48.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_49.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_47.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_48.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_46.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_47.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_45.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_46.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_44.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_45.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_43.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_44.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_42.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_43.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_41.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_42.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_40.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_41.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_39.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_40.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_38.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_39.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_37.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_38.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_36.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_37.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_35.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_36.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_34.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_35.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_33.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_34.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_32.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_33.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_31.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_32.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_30.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_31.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_29.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_30.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_28.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_29.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_27.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_28.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_26.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_27.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_25.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_26.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_24.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_25.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_23.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_24.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_22.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_23.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_21.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_22.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_20.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_21.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_19.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_20.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_18.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_19.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_17.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_18.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_16.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_17.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_15.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_16.jpg")
silentrename("/whirlwind/goes16/wvh/gulf/latest_gulf_14.jpg", "/whirlwind/goes16/wvh/gulf/latest_gulf_15.jpg")