Skip to content

Commit e984c2e

Browse files
committed
Apply suggestions from code review
1 parent 6caa6d1 commit e984c2e

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

cylc/flow/etc/tutorial/cylc-forecasting-workflow/bin/get-rainfall

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,6 @@ def process_rainfall_data(filename, resolution, domain):
163163
_height, width = data.shape
164164

165165
scale = get_scale(domain, width)
166-
# TODO Fix Mercator - the new data is in a totally
167-
# different projection, transverse Mercator, rather
168-
# than Mercator.
169-
# offset = get_offset(domain, scale)
170166
offset = (-1100.8461538461539, 1400.6953225710452)
171167

172168
if DEBUG:
@@ -202,7 +198,6 @@ def main():
202198
domain = util.parse_domain(os.environ['DOMAIN'])
203199

204200
# Acts as a switch - if a file-name is given, use that file-name
205-
# TODO - keep the nice S3 formatting with implied metadata
206201
canned_data = os.environ.get('CANNED_DATA', 'fetch')
207202

208203
if canned_data == 'fetch':

cylc/flow/etc/tutorial/cylc-forecasting-workflow/flow.cylc

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,6 @@
4343
# The area to generate forecasts for (lng1, lat1, lng2, lat2)
4444
DOMAIN = -12,46,12,61
4545

46-
[[[meta]]]
47-
metadata source = Met Office Observations R&D
48-
ellipsiod = "Airy 1830"
49-
projection = "Transverse Mercator"
50-
origin = "49,2"
51-
SW = 43.8341,-12.0118
52-
NW = 62.9207,-17.9739
53-
NE = 62.6515,16.1289
54-
SE = 437009,941578
5546

5647
[[get_observations<station>]]
5748
script = get-observations

0 commit comments

Comments
 (0)