<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Times New Roman">Hi Muhammad,<br>
<br>
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.<br>
<br>
thanks,<br>
Karl<br>
</font><br>
On 1/3/12 6:34 AM, <a class="moz-txt-link-abbreviated" href="mailto:stephen.pascoe@stfc.ac.uk">stephen.pascoe@stfc.ac.uk</a> wrote:
<blockquote
cite="mid:4C353E6E4A08AE4792B350DAA392B5211C95F5D3@EXCHMBX01.fed.cclrc.ac.uk"
type="cite">
<pre wrap="">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: <a class="moz-txt-link-abbreviated" href="mailto:esg-gateway-dev-bounces@mailman.earthsystemgrid.org">esg-gateway-dev-bounces@mailman.earthsystemgrid.org</a> [<a class="moz-txt-link-freetext" href="mailto:esg-gateway-dev-bounces@mailman.earthsystemgrid.org">mailto:esg-gateway-dev-bounces@mailman.earthsystemgrid.org</a>] On Behalf Of Muhammad Atif
Sent: 03 January 2012 04:37
To: <a class="moz-txt-link-abbreviated" href="mailto:go-essp-tech@ucar.edu">go-essp-tech@ucar.edu</a>; <a class="moz-txt-link-abbreviated" href="mailto:esg-gateway-dev@earthsystemgrid.org">esg-gateway-dev@earthsystemgrid.org</a>
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,
</pre>
</blockquote>
</body>
</html>