Skip to Content.

mget-help - [mget-help] HYCOM dates out of range

Please Wait...

Subject: Marine Geospatial Ecology Tools (MGET) help

Text archives


[mget-help] HYCOM dates out of range


Chronological Thread 
  • From: Adam Jehu <>
  • To: "" <>
  • Subject: [mget-help] HYCOM dates out of range
  • Date: Tue, 3 Jan 2017 13:48:19 +0000
  • Accept-language: en-US
  • Authentication-results: nicholas.duke.edu; dkim=none (message not signed) header.d=none;nicholas.duke.edu; dmarc=none action=none header.from=hotmail.com;
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Hello,


I am unable to download any HYCOM data, from either GLBa0.08 or GLBu0.08 Equatorial 4D Variable. I keep getting an error stating my time range must be before 18/04/2016. When I use this date it works fine, however for other dates I have tried (including today) which are after 18/04/2016 i get the error below. I have used MGET recently for similar HYCOM requests, but this is the first time I am getting this.


Regards,

-Adam



Executing: HYCOMGLBu0084DCreateArcGISRasters water_u 1day X:\OC\temp Add %%Y;%(VariableName)s_%%Y%%j_%(Depth)04.0fm.img # # "-89.988661 -9.966068 -30.019331 29.982384" 0 0 19/04/2016 19/04/2016 60 600 # true false
Start Time: Tue Jan 03 09:36:05 2017
Running script HYCOMGLBu0084DCreateArcGISRasters...
Failed script HYCOMGLBu0084DCreateArcGISRasters...

Traceback (most recent call last):
  File "C:\Program Files\GeoEco\ArcGISToolbox\Scripts\HYCOMGLBu0084DCreateArcGISRasters.py", line 5, in <module>
    ExecuteMethodFromCommandLineAsArcGISTool('GeoEco.DataProducts.HYCOM', 'HYCOMGLBu0084D', 'CreateArcGISRasters')
  File "C:\Python27\ArcGIS10.4\lib\site-packages\GeoEco\ArcGISScripts.py", line 210, in ExecuteMethodFromCommandLineAsArcGISTool
    exec sourceCode in globals(), locals()
  File "<string>", line 1, in <module>
  File "C:\Python27\ArcGIS10.4\lib\site-packages\GeoEco\DataProducts\HYCOM.py", line 2855, in CreateArcGISRasters
    clippedGrid = cls._RotateAndClip(grid, rotationOffset, spatialExtent, minDepth, maxDepth, startDate, endDate, timeStep == '1day')
  File "C:\Python27\ArcGIS10.4\lib\site-packages\GeoEco\DataProducts\HYCOM.py", line 2834, in _RotateAndClip
    grid = ClippedGrid(grid, u'Map coordinates', xMin=xMin, xMax=xMax, yMin=yMin, yMax=yMax, zMin=minDepth, zMax=maxDepth, tMin=startDate, tMax=endDate)
  File "C:\Python27\ArcGIS10.4\lib\site-packages\GeoEco\Datasets\Virtual.py", line 831, in __init__
    sliceList = [self._GetSlicesForClippedExtent(grid, 't', clipBy, tMin, tMax)] + sliceList
  File "C:\Python27\ArcGIS10.4\lib\site-packages\GeoEco\Datasets\Virtual.py", line 926, in _GetSlicesForClippedExtent
    raise IndexError(_(u'%(dim)sMin (%(value)s) is out of range. It must be less than or equal to %(max)s, the %(dim)s coordinate of the center of the right-most cell.') % {u'dim': dim, u'value': repr(start), u'max': repr(grid.CenterCoords[dim, -1])})
IndexError: tMin (datetime.datetime(2016, 4, 19, 0, 0)) is out of range. It must be less than or equal to datetime.datetime(2016, 4, 18, 0, 0), the t coordinate of the center of the right-most cell.

Failed to execute (HYCOMGLBu0084DCreateArcGISRasters).
Failed at Tue Jan 03 09:36:23 2017 (Elapsed Time: 17.40 seconds)





Archive powered by MHonArc 2.6.19.

Top of Page