Skip to Content.

mget-help - [mget-help] Questions with Cayula-Cornillon Fronts Detection & HYCOM Data Download

Please Wait...

Subject: Marine Geospatial Ecology Tools (MGET) help

Text archives


From: Yao Zhao <>
To:
Subject: [mget-help] Questions with Cayula-Cornillon Fronts Detection & HYCOM Data Download
Date: Mon, 23 Aug 2010 13:11:39 -0400
Hi Jason and MGETers,
 
I began to know MGET several weeks ago and found that it's really a useful software for my future research. But I'm a beginner in ArcGIS and have no Python background. I met some errors when I learned to use this software. Hope you can help me to fix them. (The MGET version on my computer is the lastest one. Python 2.5, Python 2.5 pywin32-212 and ArcGIS 9.3 are all installed.) 
 
First error came from Cayula-Cornillon Fronts finding tool. I tried to detect fronts in an ArcGIS Raster which is converted from NASA MODISA 4km SST HDF file and contains integers in 16-bit unsigned data type. For the optional settings, I only writed "int(inputRaster)" in Map algebra _expression_ box to make sure that the input raster was a integer raster. The error message looks as follows and I have no idea what wrong it is.
 

Executing: CayulaCornillonEdgeDetectionDetectEdgesInArcGISRaster C:\yzwork\test\sstraster C:\yzwork\test\edge false int(inputRaster) 3 32 16 0.65 0.25 3 0.76 0.9 0.92 1 # # # # #

Start Time: Mon Aug 23 10:34:23 2010

Running script CayulaCornillonEdgeDetectionDetectEdgesInArcGISRaster...

Finding fronts in C:\yzwork\test\sstraster using parameters: medianFilter=3, histogramWindow=32, histogramStride=16, minPropCellsWithData=0.65000000000000002, minPopProp=0.25, minPopMeanDiff=3.0, minTheta=0.76000000000000001, minSinglePopCohesion=0.90000000000000002, minGlobalPopCohesion=0.92000000000000004, threads=1.

Output rasters: fronts=C:\yzwork\test\edge, filteredImage=None, candidateCounts=None, frontCounts=None, windowStatusCodes=None, windowStatusValues=None

KeyError: '_gdal_array_1_0_3'

<type 'exceptions.KeyError'>: '_gdal_array_1_0_3'

Failed to execute (CayulaCornillonEdgeDetectionDetectEdgesInArcGISRaster).

End Time: Mon Aug 23 10:34:30 2010 (Elapsed Time: 7.00 seconds)

A similar error came out when I used the MGET tool to download HYCOM GOMl0.04 3D Variable to ArcGIS Rasters. I selected ssh variable and limited the time series from 4/1/2010 to 4/30/2010. Error message is like this:

Executing: HYCOMGOMl0043DCreateArcGISRasters ssh C:\yzwork\test\HYCOM Add %(VariableName)s;%%Y;%(VariableName)s_%%Y%%j.img # Degrees 4/1/2010 4/30/2010 1000 # true false C:\yzwork\test\HYCOM

Start Time: Mon Aug 23 11:37:43 2010

Running script HYCOMGOMl0043DCreateArcGISRasters...

RuntimeError: Failed to write a block of data of 541 columns by 385 rows at offsets x=0, y=0 to band 1 of band 1 of GDAL dataset "C:\yzwork\test\HYCOM\ssh\2010\ssh_2010091.img" with the Geospatial Data Abstraction Library (GDAL). Verify that the dataset exists, is accessible, and has the expected dimensions. Detailed error information: band.WriteArray(data, 0, 0) reported KeyError: '_gdal_array_1_0_3'.

<type 'exceptions.RuntimeError'>: Failed to write a block of data of 541 columns by 385 rows at offsets x=0, y=0 to band 1 of band 1 of GDAL dataset "C:\yzwork\test\HYCOM\ssh\2010\ssh_2010091.img" with the Geospatial Data Abstraction Library (GDAL). Verify that the dataset exists, is accessible, and has the expected dimensions. Detailed error information: band.WriteArray(data, 0, 0) reported KeyError: '_gdal_array_1_0_3'.

Failed to execute (HYCOMGOMl0043DCreateArcGISRasters).

End Time: Mon Aug 23 11:38:18 2010 (Elapsed Time: 35.00 seconds)

I also tried to repeat the example "Extracting ArcGIS rasters from the HYCOM global ocean model's 4D netCDFs". I followed the step-by-step instructions. After inputing the command "Extract_Rasters_From_HYCOM_Global_NetCDFs.py NetCDFs\archv.2003_002_00_3zt.nc temperature regional.grid.a regional.grid.b Rasters 0" in CMD shell, there is an ImportError which said "No module named netCDF3". So I just wonder if there is something that I failed to install on my computer.
 
At last, I have a small question on 'geostrophic eddies identifying tool' in MGET. I saw MGET Overview for NOAA Coastal GeoTools 2009 Conference PowerPoint and learned that there should be such a tool under the directory of Oceanographic Analysis in toolbox. But I failed to find it. Can you show me how to get access to this tool?
 
Sorry for my long questions. Thanks a lot for your patience and help!
 
Best regards,
 
Yao Zhao
Master student in major Marine Science
North Carolina State University
  • [mget-help] Questions with Cayula-Cornillon Fronts Detection & HYCOM Data DownloadYao Zhao
Archives powered by MHonArc.
Top of Page