Skip to Content.

mget-help - RE: [mget-help] Error in obtaining CoRTAD dataset

Please Wait...

Subject: Marine Geospatial Ecology Tools (MGET) help

Text archives


From: "Jason Roberts" <>
To: "'Khalil I.'" <>
Cc: <>
Subject: RE: [mget-help] Error in obtaining CoRTAD dataset
Date: Thu, 23 Jan 2014 15:07:53 -0500

Hi Idham,

 

My guess is that is a bug in MGET, but I cannot repro it. I used the same parameters as you and it worked:

 

Executing (Create Rasters for CoRTAD 3D Variable): CoRTADv33DCreateArcGISRasters TSA_DHW C:\Temp\Idham_Khalil Add %(VariableName)s;%%Y;%(VariableName)s_%%Y%%j.img # true 0 # "96.5 -16.5 165.5 26.5" 1/1/1985 1/30/1985 60 120 # false true false false

Start Time: Thu Jan 23 14:58:17 2014

Running script CoRTADv33DCreateArcGISRasters...

Querying time slices of CoRTAD TSA_DHW variable, masked where CoRTAD Land variable != 0 or CoRTAD AllBad variable != 0, clipped to indices tMin = 157, tMax = 160, yMin = 1673, yMax = 2650, xMin = 6292, xMax = 7861.

Query complete: 0:00:00 elapsed, 4 datasets found, 0:00:00 per dataset.

Importing 4 datasets into ArcGIS Folder C:\Temp\Idham_Khalil with mode "add".

Checking for existing destination datasets.

Finished checking: 0:00:00 elapsed, 4 datasets checked, 0:00:00 per dataset.

0 destination datasets already exist. Importing 4 datasets.

Import complete: 0:00:23 elapsed, 4 datasets imported, 0:00:05.777500 per dataset.

Completed script CoRTADv33DCreateArcGISRasters...

Succeeded at Thu Jan 23 14:58:45 2014 (Elapsed Time: 27.87 seconds)

 

The only differences are the destination workspace (which shouldn’t matter) and the format of the dates. Your dates are different because your operating system and/or ArcGIS is configured to use the traditional DD/MM/YYYY format instead of the MM/DD/YYYY format that the U.S. uses. MGET asks the operating system for the default format and then tries to parse dates that way, before trying other formats. It looks like that worked correctly since the data were clipped to the same t indices on both our machines (tMin = 157, tMax = 160).

It may be that you are using a different version of MGET or ArcGIS. I’m using the latest MGET (0.8a53) on ArcGIS 10.2. I suggest you try this:

 

1.    Upgrade to the latest MGET if you have not done so already. It might be there was a bug that I already fixed.

 

2.    If that does not work, enable verbose logging (instructions here), repro it, and send me the full output. That will help me diagnose the problem.

 

Best,


Jason

 

From: Khalil I. [mailto:]
Sent: Thursday, January 23, 2014 2:04 PM
To:
Subject: [mget-help] Error in obtaining CoRTAD dataset

 

Hi guys,

 

I am having difficulties to download CoRTAD dataset(variable: TSA_DHW) using MGET(Create Rasters for CoRTAD 3D Variable). End up with error message as below. Any helps?

 

Thanks in advance.

Idham

 

Executing: CoRTADv33DCreateArcGISRasters TSA_DHW C:\test_interpolate_mget Add %(VariableName)s;%%Y;%(VariableName)s_%%Y%%j.img # true 0 # "96.5 -16.5 165.5 26.5" 01/01/1985 30/01/1985 60 120 # false true false false

Start Time: Thu Jan 23 18:15:49 2014

Running script CoRTADv33DCreateArcGISRasters...

Querying time slices of CoRTAD TSA_DHW variable, masked where CoRTAD Land variable != 0 or CoRTAD AllBad variable != 0, clipped to indices tMin = 157, tMax = 160, yMin = 1673, yMax = 2650, xMin = 6292, xMax = 7861.

Query complete: 0:00:00 elapsed, 4 datasets found, 0:00:00.001750 per dataset.

Importing 4 datasets into ArcGIS Folder C:\test_interpolate_mget with mode "add".

Checking for existing destination datasets.

Finished checking: 0:00:00 elapsed, 4 datasets checked, 0:00:00.000250 per dataset.

0 destination datasets already exist. Importing 4 datasets.

Import stopped before all datasets were imported: 0:00:01 elapsed, 0 datasets imported, 0:00:00 per dataset, 4 datasets not imported.

TypeError: 'NoneType' object is unsubscriptable

<type 'exceptions.TypeError'>: 'NoneType' object is unsubscriptable

Failed to execute (CoRTADv33DCreateArcGISRasters).

Failed at Thu Jan 23 18:15:52 2014 (Elapsed Time: 3.00 seconds)

 

 

< date >
< thread >
Archives powered by MHonArc.
Top of Page