Skip to content

Commit dd5b7cd

Browse files
author
idastorm
committed
Dec *year* to Dec *year+1* + removed some comments
1 parent 73d2a5c commit dd5b7cd

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

icos_jupyter_notebooks/station_characterization/stc_functions.py

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,7 @@
4646

4747
#stations that have footprints as well as year and months with footprints. Also altitude.
4848

49-
5049
#path to footprints
51-
#pathFP='/data/stiltweb/slots/'
5250
pathFP='/data/stiltweb/stations/'
5351

5452
#Earth's radius in km (for calculating distances between the station and cells)
@@ -75,13 +73,7 @@ def read_aggreg_footprints(station, date_range):
7573
# path to footprint files in new stiltweb directory structure
7674
pathFP='/data/stiltweb/stations/'
7775

78-
79-
# tempCD
80-
#pathFP = './data/stiltweb/slots/56.10Nx013.42Ex00030'
81-
#pathFP = 'C:\Users\Claudio\Documents\GitHub\station_characterization/data/stiltweb/slots/56.10Nx013.42Ex00030'
82-
#station = 'HTM150'
8376

84-
# print ('date range: ',date_range)
8577
fp=[]
8678
nfp=0
8779
first = True
@@ -199,11 +191,7 @@ def available_STILT_dictionary():
199191
if istICOS in ist:
200192
available[ist]['stationClass'] = df_datatable['stationClass'][ic]
201193

202-
# print availability
203-
#for ist in sorted(available):
204-
# print ('station:', ist)
205-
# for k in available[ist]:
206-
# print (k,':', available[ist][k])
194+
207195
return available
208196

209197
def create_STILT_dictionary():
@@ -1332,7 +1320,7 @@ def create_seasonal_table_upd(myStation):
13321320
return seasonal_table
13331321
#if not 12 months:
13341322
else:
1335-
string_footprint_availability='(Dec ' + str(year-1) + ' Dec ' + str(year) +')'
1323+
string_footprint_availability='(Dec ' + str(year-1) + ' to Dec ' + str(year) +')'
13361324
display(HTML('<p style="font-size:16px;">Footprints not available for the whole year ' + string_footprint_availability+ ' and therefore no seasonal variations table is shown</p>'))
13371325

13381326
#land cover polar graph:

0 commit comments

Comments
 (0)