diff ecv_retrieve.py @ 2:b9d9fe0c2ce7 draft

planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/essential_climate_variables commit 6045302c39c9c11fb6a73966a364cc395f2f9b28
author climate
date Sun, 23 Jun 2019 11:16:11 -0400
parents 5c0ab9932311
children ee42b7a33dc7
line wrap: on
line diff
--- a/ecv_retrieve.py	Tue May 07 03:26:08 2019 -0400
+++ b/ecv_retrieve.py	Sun Jun 23 11:16:11 2019 -0400
@@ -34,7 +34,11 @@
             self.time_aggregation = '1_month'
         else:
             self.time_aggregation = time_aggregation
-        self.area = area
+        if area == '':
+            self.area = 'global'
+        else:
+            self.area = area
+
         if format == '':
             self.format = 'tgz'
         else:
@@ -57,6 +61,7 @@
                 'variable': self.variable,
                 'year': self.year,
                 'month': self.month,
+                'origin': 'era5',
                 'area': self.area,
                 'format': self.format,
                 'product_type': self.product_type,