Subject: Marine Geospatial Ecology Tools (MGET) help
Text archives
From: | Melinda Conners <> |
---|---|
To: | Jason Roberts <> |
Cc: | "" <>, "" <> |
Subject: | Re: [mget-help] aviso_eddy MGET help |
Date: | Thu, 31 Jul 2014 12:16:30 -0700 |
Hi Jason,
Changing the name and password did not result in the “Unable to parse token: <!DOCTYPE” error , but ran into the same error as Mia.
Here're the contents of the processing window:
Executing: AvisoDuacs2014GriddedProductFindOkuboWeissEddies aviso-users grid2010 Global "DT all sat" MADT C:\Users\Melinda\Documents\Mel_Work\Dissertation\ArcGIS_Projects\Ch1bathy\databases\bathy02\files\aviso_eddy\aviso_okuboweiss_07302014 Add %(Zone)s;%(Delay)s;%(Product)s_%(ImageType)s;%%Y;%(Product)s_%(ImageType)s_%%Y%%j.img "Standard Deviation" -0.2 2 # 28 # "186 15 210 37" 2/14/2006 2/15/2006 60 120 # true true false true true
Start Time: Thu Jul 31 12:11:25 2014
Running script AvisoDuacs2014GriddedProductFindOkuboWeissEddies...
Querying time slices of Okubo-Weiss eddies in AVISO Global DT all sat sea surface height, clipped to indices tMin = 4792, tMax = 4793, yMin = 420, yMax = 507, xMin = 744, xMax = 839.
Query complete: 0:00:00 elapsed, 2 datasets found, 0:00:00.001000 per dataset.
Importing 2 datasets into ArcGIS Folder C:\Users\Melinda\Documents\Mel_Work\Dissertation\ArcGIS_Projects\Ch1bathy\databases\bathy02\files\aviso_eddy\aviso_okuboweiss_07302014 with mode "add".
Checking for existing destination datasets.
Finished checking: 0:00:00 elapsed, 2 datasets checked, 0:00:00 per dataset.
0 destination datasets already exist. Importing 2 datasets.
Import stopped before all datasets were imported: 0:00:00 elapsed, 0 datasets imported, 0:00:00 per dataset, 2 datasets not imported.
NameError: global name 'Dataset' is not defined
Traceback (most recent call last):
File "C:\Program Files\GeoEco\ArcGISToolbox\Scripts\AvisoDuacs2014GriddedProductFindOkuboWeissEddies.py", line 5, in <module>
ExecuteMethodFromCommandLineAsArcGISTool('GeoEco.DataProducts.Aviso', 'AvisoDuacs2014GriddedProduct', 'FindOkuboWeissEddies')
File "C:\Python27\ArcGIS10.1\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.1\lib\site-packages\GeoEco\DataProducts\Aviso.py", line 464, in FindOkuboWeissEddies
workspace.ImportDatasets(GridSliceCollection(eddies, tQACoordType=u'min').QueryDatasets(), mode, calculateStatistics=calculateStatistics, buildRAT=buildRAT, buildPyramids=buildPyramids)
File "C:\Python27\ArcGIS10.1\lib\site-packages\GeoEco\Datasets\__init__.py", line 820, in ImportDatasets
self._ImportDatasets(datasets, mode.lower(), reportProgress, options)
File "C:\Python27\ArcGIS10.1\lib\site-packages\GeoEco\Datasets\Collections.py", line 694, in _ImportDatasets
self._ImportDatasetsToPath(pathComponentsForPath[path], datasetsForPath[path], mode, progressReporter, options)
File "C:\Python27\ArcGIS10.1\lib\site-packages\GeoEco\Datasets\ArcGIS.py", line 609, in _ImportDatasetsToPath
self.DatasetType._ImportDatasetsToPath(os.path.join(self.Path, *pathComponents), sourceDatasets, mode, progressReporter, options)
File "C:\Python27\ArcGIS10.1\lib\site-packages\GeoEco\Datasets\ArcGIS.py", line 1121, in _ImportDatasetsToPath
GDALDataset._ImportDatasetsToPath(path, sourceDatasets, mode, None, {'useArcGISSpatialReference': True, 'useUnscaledData': useUnscaledData, 'calculateStatistics': False, 'blockSize': blockSize})
File "C:\Python27\ArcGIS10.1\lib\site-packages\GeoEco\Datasets\GDAL.py", line 1073, in _ImportDatasetsToPath
data = "sourceDatasets[i].Data[rowsCopied:rowsCopied+rowsToCopy," :]
File "C:\Python27\ArcGIS10.1\lib\site-packages\GeoEco\Datasets\__init__.py", line 3670, in __getitem__
return getattr(self._Grid(), self._GetMethod)(key)
File "C:\Python27\ArcGIS10.1\lib\site-packages\GeoEco\Datasets\Virtual.py", line 562, in _GetUnscaledDataAsArray
return self._Grid._GetUnscaledDataAsArray(self._AddSlicedDimsToKey(key))
File "C:\Python27\ArcGIS10.1\lib\site-packages\GeoEco\Datasets\__init__.py", line 3310, in _GetUnscaledDataAsArray
data, actualNoDataValue = self._ReadNumpyArray(reorderedSliceList)
File "C:\Python27\ArcGIS10.1\lib\site-packages\GeoEco\OceanographicAnalysis\Eddies.py", line 137, in _ReadNumpyArray
self._FindEddies()
File "C:\Python27\ArcGIS10.1\lib\site-packages\GeoEco\OceanographicAnalysis\Eddies.py", line 172, in _FindEddies
sr2 = Dataset.ConvertSpatialReference('proj4', '+proj=sinu +a=%r +b=%r +no_defs' % (sr1.GetSemiMajor(), sr1.GetSemiMinor()), 'obj')
NameError: global name 'Dataset' is not defined
Failed to execute (AvisoDuacs2014GriddedProductFindOkuboWeissEddies).
Failed at Thu Jul 31 12:11:30 2014 (Elapsed Time: 5.00 seconds)
Many thanks -
Melinda
On Thu, Jul 31, 2014 at 6:00 AM, Jason Roberts <> wrote:
Mia,
I'm sorry about that. It is probably a bug that I did not detect during testing. Could you please reproduce the problem and then copy the contents of the geoprocessing window into an email to me? I'll try your exact scenario, hopefully reproduce it here, and then send you a patch.
Best,
Jason
> lobal-merged-madt-h-daily with OPeNDAP. The operation was retried for
-----Original Message-----
From: Mia Wege [mailto:]
Sent: Thursday, July 31, 2014 3:36 AM
To: Jason Roberts
Cc: Melinda Conners;
Subject: RE: [mget-help] aviso_eddy MGET help
Hello Jason,
I have used the MGET Aviso Eddy tool before and now want to use it again.
I had similar problems as Melinda. So now I installed latest MGET and all the acompanying software (following instructions on website closely).
However, I keep getting an error saying: "NameError: global name 'Dataset'
not defined'.
Geographic zone is set to Global, I have tried all combinations of the 'temporal delay and satellites' and 'product type'. When I choose the NRT
30 all sat under 'temporal delay' it gives me some error relating to date issues, which I understand is related to the temporal availability of that AVISO product. But when I use the delayed time option I get the error mentioned above. I just chose January 2013 as date to randomly test the tool. And my spatial extent is within the Southern Ocean.
Am I doing something wrong?
Thank you for your help.
Mia
On Wed, July 30, 2014 21:55, Jason Roberts wrote:
> Dear Melinda,
>
> Please uninstall your existing copy of MGET and download and install
> version 0.8a56 from the MGET website. The version of MGET that you are
> using works with AVISO data that has been decommissioned and removed
> from their server. Version 0.8a56 works with AVISO's new data, called
> DUACS 2014.
>
> Note that the names of the tools have changed in 0.8a56, as well as
> some of the parameters. If you have existing geoprocessing models, you
> must reconstruct them using the new AVISO tools.
>
> Best,
>
> Jason
>
> From: Melinda Conners [mailto:]
> Sent: Wednesday, July 30, 2014 3:45 PM
> To:
> Subject: [mget-help] aviso_eddy MGET help
>
> Hello MGET help,
>
> I am a first-time user of MGET and am trying to access an aviso
> product over the thredds server using the tool:
>
> Find Okubo-Weiss Eddies in Aviso SSH Product
>
> I am encountering an error which seems to indicate a wrong url (either
> that or the server is down). Potentially the url has changed since the
> last modification of the MGET toolbox. Do you know of this? Or, should
> I try to see if it is a problem with the server?
>
> Many thanks for any help
>
> Best,
> Melinda Conners
>
> RuntimeError: Failed to open URL
> http://opendap.aviso.oceanobs.com/thredds/dodsC/dataset-duacs-dt-ref-g
> 120 seconds without success.
> Verify that the URL is correct. If it is, check that the server is
> operating properly and that your computer can connect to it. If
> necessary, contact the server's operator for assistance. If the server
> and network are operating properly, this problem could be a
> programming error in this tool. If you suspect one, contact the author of this tool for assistance.
> Error details: ServerError: 'Server error 404:
> "dataset-duacs-dt-ref-global-merged-madt-h-daily"'
>
>
>
> --
> Melinda Conners, PhD Candidate
> Dept. of Ocean Sciences
> University of California
> Long Marine Lab
> 100 Shaffer Rd
> Santa Cruz, CA 95060
> <mailto:>
> (831)428-6576
>
---------------------------------------------------------------------
This message and attachments are subject to a disclaimer. Please refer to http://www.it.up.ac.za/documentation/governance/disclaimer/ for full details. / Hierdie boodskap en aanhangsels is aan 'n vrywaringsklousule onderhewig. Volledige besonderhede is by http://www.it.up.ac.za/documentation/governance/disclaimer/ beskikbaar.
Melinda Conners, PhD Candidate
Dept. of Ocean Sciences
University of California
Long Marine Lab
100 Shaffer Rd
Santa Cruz, CA 95060
Dept. of Ocean Sciences
University of California
Long Marine Lab
100 Shaffer Rd
Santa Cruz, CA 95060
(831)428-6576
Archives powered by MHonArc.