Commit 3af9a884 authored by Carl Schreck's avatar Carl Schreck

Special case for cristobal

parent 915150fc
Here we go! | 2020-07-09 14:04:48
Downloading/opening data | 2020-07-09 14:04:48
Downloading: IBTrACS.ALL.v04r00.nc | 2020-07-09 14:04:48
North Atlantic: June - June : 1851 | 2020-07-09 14:04:51
Calculating ACE | 2020-07-09 14:04:51
Count 35 | 2020-07-09 14:04:54
Count 64 | 2020-07-09 14:04:54
Count 96 | 2020-07-09 14:04:55
Here we go! | 2020-07-09 14:23:41
Downloading/opening data | 2020-07-09 14:23:41
Downloading: IBTrACS.ALL.v04r00.nc | 2020-07-09 14:23:41
North Atlantic: June - June : 1851 | 2020-07-09 14:23:44
Calculating ACE | 2020-07-09 14:23:44
Count 35 | 2020-07-09 14:23:46
Adding one to 2020 for cristobal | 2020-07-09 14:23:47
<xarray.DataArray 'Tropical Storms' ()>
array(1)
Coordinates:
year int64 2020
<xarray.DataArray 'Tropical Storms' ()>
array(2)
Coordinates:
year int64 2020
Count 64 | 2020-07-09 14:23:47
Count 96 | 2020-07-09 14:23:48
North Atlantic: Tropical Storms
2020: 1
Rank: 8
Tied with: 14
2020: 2
Rank: 1
Tied with: 7
Average: 0.6
Record: 3
Years: [1886, 1909, 1936, 1968]
......@@ -42,7 +51,7 @@ Record: 20.577100000041284
Years: [1886]
Individual North Atlantic Storms: | 2020-07-09 14:04:56
Individual North Atlantic Storms: | 2020-07-09 14:23:49
id: 2020150N09269
name: Amanda:Cristobal
category: TS
......@@ -59,11 +68,11 @@ Jun 23 - Jun 24
Eastern Pacific: June - June : 1949 | 2020-07-09 14:04:57
Calculating ACE | 2020-07-09 14:04:57
Count 35 | 2020-07-09 14:04:57
Count 64 | 2020-07-09 14:04:58
Count 96 | 2020-07-09 14:04:59
Eastern Pacific: June - June : 1949 | 2020-07-09 14:23:50
Calculating ACE | 2020-07-09 14:23:50
Count 35 | 2020-07-09 14:23:50
Count 64 | 2020-07-09 14:23:51
Count 96 | 2020-07-09 14:23:52
Eastern Pacific: Tropical Storms
2020: 1
......@@ -98,7 +107,7 @@ Record: 40.224652083409396
Years: [2015]
Individual Eastern Pacific Storms: | 2020-07-09 14:04:59
Individual Eastern Pacific Storms: | 2020-07-09 14:23:52
id: 2020174N11231
name: Boris
category: TS
......@@ -106,5 +115,5 @@ max wind: 35.0 kt / 40.25 mph
min pressure: 1005.0
Jun 25 - Jun 26
Global Category 5s | 2020-07-09 14:05:00
Thank you, come again. | 2020-07-09 14:05:00
Global Category 5s | 2020-07-09 14:23:53
Thank you, come again. | 2020-07-09 14:23:53
Here we go! | 2020-07-09 14:04:33
Downloading/opening data | 2020-07-09 14:04:33
Downloading: IBTrACS.ALL.v04r00.nc | 2020-07-09 14:04:33
North Atlantic: January - June : 1851 | 2020-07-09 14:04:38
Calculating ACE | 2020-07-09 14:04:38
Count 35 | 2020-07-09 14:04:46
Count 64 | 2020-07-09 14:04:49
Count 96 | 2020-07-09 14:04:52
Here we go! | 2020-07-09 14:23:58
Downloading/opening data | 2020-07-09 14:23:58
Downloading: IBTrACS.ALL.v04r00.nc | 2020-07-09 14:23:58
North Atlantic: January - June : 1851 | 2020-07-09 14:24:02
Calculating ACE | 2020-07-09 14:24:02
Count 35 | 2020-07-09 14:24:10
Adding one to 2020 for cristobal | 2020-07-09 14:24:13
<xarray.DataArray 'Tropical Storms' ()>
array(3)
Coordinates:
year int64 2020
<xarray.DataArray 'Tropical Storms' ()>
array(4)
Coordinates:
year int64 2020
Count 64 | 2020-07-09 14:24:13
Count 96 | 2020-07-09 14:24:16
North Atlantic: Tropical Storms
2020: 3
Rank: 3
Tied with: 1
2020: 4
Rank: 1
Tied with: 2
Average: 0.7666666666666667
Record: 4
Years: [2012, 2016]
Years: [2012, 2016, 2020]
North Atlantic: Hurricanes
2020: 0
......@@ -42,7 +51,7 @@ Record: 21.4852
Years: [1951]
Individual North Atlantic Storms: | 2020-07-09 14:04:55
Individual North Atlantic Storms: | 2020-07-09 14:24:19
id: 2020137N24278
name: Arthur
category: TS
......@@ -73,11 +82,11 @@ Jun 23 - Jun 24
Eastern Pacific: January - June : 1949 | 2020-07-09 14:04:55
Calculating ACE | 2020-07-09 14:04:55
Count 35 | 2020-07-09 14:04:58
Count 64 | 2020-07-09 14:04:59
Count 96 | 2020-07-09 14:05:01
Eastern Pacific: January - June : 1949 | 2020-07-09 14:24:19
Calculating ACE | 2020-07-09 14:24:19
Count 35 | 2020-07-09 14:24:22
Count 64 | 2020-07-09 14:24:23
Count 96 | 2020-07-09 14:24:25
Eastern Pacific: Tropical Storms
2020: 2
......@@ -112,7 +121,7 @@ Record: 49.5312020834094
Years: [2015]
Individual Eastern Pacific Storms: | 2020-07-09 14:05:02
Individual Eastern Pacific Storms: | 2020-07-09 14:24:26
id: 2020150N09269
name: Amanda:Cristobal
category: TS
......@@ -127,7 +136,7 @@ max wind: 35.0 kt / 40.25 mph
min pressure: 1005.0
Jun 25 - Jun 26
Global Category 5s | 2020-07-09 14:05:03
Global Category 5s | 2020-07-09 14:24:27
name: Harold
id: 2020094S10160
max wind: 165.6 mph
......@@ -142,4 +151,4 @@ min pressure: 901.0
basin: NI
May 16 - May 21
Thank you, come again. | 2020-07-09 14:05:03
Thank you, come again. | 2020-07-09 14:24:27
......@@ -26,7 +26,7 @@ end_year = int(args.year)
end_month = int(args.month)
end_month = np.where(end_month < 1, end_month+12, end_month)
do_ytd = False
do_ytd = True
if do_ytd:
months = range(1, end_month + 1)
else:
......@@ -64,6 +64,13 @@ for basin in basins:
start_year=start_year, end_year=end_year,
months=months).sum(dim='month')
count_35.name = 'Tropical Storms'
if basin == 'NA' and (do_ytd or (end_month == 6)):
cjs.tstamp('Adding one to 2020 for cristobal')
print(count_35.sel(year=2020))
count_35.loc[dict(year=2020)] += 1
print(count_35.sel(year=2020))
cjs.tstamp('Count 64')
count_64 = ibt.count_yyyymm(thresh=64, target_basin=basin,
start_year=start_year, end_year=end_year,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment