Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
Merge branch 'CLIMATE-932'
Browse files Browse the repository at this point in the history
  • Loading branch information
huikyole committed Oct 23, 2017
2 parents 58d6cdf + e7d99b6 commit 14b98e9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions RCMES/run_RCMES.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,12 @@ def load_datasets_from_config(extra_opts, *loader_opts):
max_lon = space_info['max_lon']
else:
domain = space_info['boundary_type']
if domain.startswith('CORDEX '):
if 'CORDEX' in domain:
domain = domain.replace('CORDEX', '').lower()
domain = domain.replace(' ', '')
domain = domain.strip()
min_lat, max_lat, min_lon, max_lon = utils.CORDEX_boundary(domain)


# Additional arguments for the DatasetLoader
extra_opts = {'min_lat': min_lat, 'max_lat': max_lat, 'min_lon': min_lon,
'max_lon': max_lon, 'start_time': start_time,
Expand Down

0 comments on commit 14b98e9

Please sign in to comment.