[Go-essp-tech] [esg-gateway-dev] publishing error (invalid hour)

Karl Taylor taylor13 at llnl.gov
Tue Jan 3 10:41:20 MST 2012


Hi Muhammad,

Better yet, execute "ncdump -c".  This will return both the header 
information and the coordinate values.  It would be good to see what the 
time coordinate values are in the file.

thanks,
Karl

On 1/3/12 6:34 AM, stephen.pascoe at stfc.ac.uk wrote:
> Hi Muhammad,
>
> Can you send a dump of the NetCDF metadata for this file.  The command is "ncdump -h".  Whether a time value is valid depends on the time:units attribute and sometimes other attributes.
>
> Cheers,
> Stephen.
>
> ---
> Stephen Pascoe  +44 (0)1235 445980
> Centre of Environmental Data Archival
> STFC Rutherford Appleton Laboratory, Harwell Oxford, Didcot OX11 0QX, UK
>
>
> -----Original Message-----
> From: esg-gateway-dev-bounces at mailman.earthsystemgrid.org [mailto:esg-gateway-dev-bounces at mailman.earthsystemgrid.org] On Behalf Of Muhammad Atif
> Sent: 03 January 2012 04:37
> To: go-essp-tech at ucar.edu; esg-gateway-dev at earthsystemgrid.org
> Subject: [esg-gateway-dev] publishing error (invalid hour)
>
> Dear All,
>
> In an unrelated problem from the previous email, we are facing another
> error that gives "CDMS error: Error on time conversion: invalid hour =
> 28864363504146.773438"
> Please let me know what to do with it. The modelers suggest that they
> were not able to find any funny stuff.
>
> INFO       2011-12-28 12:24:32,436 Writing THREDDS catalog
> /data/esg-node/tds-content/thredds/esgcet/9/cmip5.restricted.CSIRO-QCCCE.CSIRO-Mk3-6-0.historicalAntNoAA.mon.ocean.Omon.r10i1p1.v20111228.xml
> CDMS error: Error on time conversion: invalid hour = 28864363504146.773438
>
> Traceback (most recent call last):
>     File "/usr/local/cdat/bin/esgpublish", line 5, in<module>
>       pkg_resources.run_script('esgcet==2.8.4', 'esgpublish')
>     File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 489, in
> run_script
>     File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 1207, in
> run_script
>     File
> "/usr/local/cdat/lib/python2.6/site-packages/esgcet-2.8.4-py2.6.egg/EGG-INFO/scripts/esgpublish",
> line 434, in<module>
>       main(sys.argv[1:])
>     File
> "/usr/local/cdat/lib/python2.6/site-packages/esgcet-2.8.4-py2.6.egg/EGG-INFO/scripts/esgpublish",
> line 420, in main
>       result = publishDatasetList(datasetNames, Session, publish=publish,
> thredds=thredds, las=las, parentId=parent, service=service,
> perVariable=perVariable)
>     File
> "/usr/local/cdat/lib/python2.6/site-packages/esgcet-2.8.4-py2.6.egg/esgcet/publish/publish.py",
> line 244, in publishDatasetList
>       generateThredds(datasetName, Session, threddsOutput, handler,
> service=service, perVariable=perVariable, versionNumber=versionno)
>     File
> "/usr/local/cdat/lib/python2.6/site-packages/esgcet-2.8.4-py2.6.egg/esgcet/publish/thredds.py",
> line 726, in generateThredds
>       _generateThreddsV2(datasetName, outputFile, handler, session, dset,
> context, project, model, experiment, config, section, genRoot=genRoot,
> service=service, perVariable=perVariable, versionNumber=versionNumber)
>     File
> "/usr/local/cdat/lib/python2.6/site-packages/esgcet-2.8.4-py2.6.egg/esgcet/publish/thredds.py",
> line 950, in _generateThreddsV2
>       _genPerVariableDatasetsV2(datasetElem, dset, datasetName,
> resolution, filesRootLoc, filesRootPath, datasetRootDict,
> excludeVariables, offline, serviceName, serviceDict, aggServiceName,
> handler, project, model, experiment, lasConfigure, lasTimeDelta,
> versionNumber, variables, variableElemDict, lasServiceSpecs,
> lasServiceHash, gridftpMap=gridftpMapDatasetRoots)
>     File
> "/usr/local/cdat/lib/python2.6/site-packages/esgcet-2.8.4-py2.6.egg/esgcet/publish/thredds.py",
> line 563, in _genPerVariableDatasetsV2
>       timeFirst = mdhandler.genTime(variable.aggdim_first,
> dataset.aggdim_units, dataset.calendar)
>     File
> "/usr/local/cdat/lib/python2.6/site-packages/esgcet-2.8.4-py2.6.egg/esgcet/config/cf_handler.py",
> line 179, in genTime
>       c = t.tocomp(_tagToCalendar[calendarTag])
> Cdtime error: Invalid component time
>
> Regards,
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/go-essp-tech/attachments/20120103/b130f8d2/attachment-0001.html 


More information about the GO-ESSP-TECH mailing list