[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[THREDDS #GCF-142943]: Problem in aggregated dataset



Hi Yolanda:

> Hello,
> 
> I write to you in order to ask for help for a problem I encounter when 
> performing an aggregation though time dimension in thredds (using values from 
> filenames).
> 
> Apparently the aggregation performs well when accessing the aggregated 
> dataset though opendap and ncss but fails when trying to get a subsetted 
> netcdf with ncss.

i made a test that seemed to work. can you send me the URL that does not work ?

> 
> I have opened the dataset in toolsui and it seems to be ok in the viewer tag 
> but in the featurestype tag it seems strange that the shape of the created 
> grid takes twice the time dimension but cannot understand why. Could you help 
> me to identify the error? Thanks a lot in advance. My objective is to add 
> this dataset to be viewed through ncWMS later.

HDF4 files are notoriously bad. can you send me a sample file or two??

also, you need to list the variables to be aggregated, like this

 <variableAgg name="kk"/>
 <variableAgg name="l3m_data"/>


> 
> 
> 
> The opendap url for the dataset is
> 
> dods://150.241.234.101:8080/thredds/dodsC/ExampleNcML/Agg2.nc through 
> http://150.241.234.101:8080/thredds/MODIS_L3.html
> 
> 
> 
> 
> 
> and my xml catalog is:
> 
> 
> 
> <?xml version="1.0" encoding="UTF-8"?>
> 
> <catalog name=" Catalog" 
> xmlns="http://www.unidata.ucar.edu/namespaces/thredds/InvCatalog/v1.0";
> 
> xmlns:xlink="http://www.w3.org/1999/xlink";>
> 
> 
> 
> <service name="allServices" serviceType="Compound" base="">
> 
> <service name="ncdods" serviceType="OPENDAP" base="/thredds/dodsC/"/>
> 
> <service name="HTTPServer" serviceType="HTTPServer" 
> base="/thredds/fileServer/"/>
> 
> <service name="wcs" serviceType="WCS" base="/thredds/wcs/"/>
> 
> <service name="wms" serviceType="WMS" base="/thredds/wms/" />
> 
> <service name="ncss" serviceType="NetcdfSubset" base="/thredds/ncss/grid/" />
> 
> <service name="ncstream" serviceType="NetcdfStream" base="/thredds/ncstream/" 
> />
> 
> </service>
> 
> 
> 
> <dataset name="Example NcML Agg2" ID="ExampleNcML-Agg2" 
> urlPath="ExampleNcML/Agg2.nc">
> 
> <serviceName>allServices</serviceName>
> 
> <netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2";>
> 
> <aggregation dimName="time" type="joinNew" timeUnitsChange="true">
> 
> <scan location="/data/HDF/" suffix=".L3m_MO_NSST_4" 
> dateFormatMark="A#yyyyDDD" subdirs="false"/>
> 
> 
> 
> <variable name="lon" shape="fakeDim1" type="double">
> 
> <attribute name="units" value="degrees_east"/>
> 
> <values start="-180" increment="0.04166666"/>
> 
> </variable>
> 
> 
> 
> <variable name="lat" shape="fakeDim0" type="double">
> 
> <attribute name="units" value="degrees_north"/>
> 
> <values start="90" increment="-0.04166666"/>
> 
> </variable>
> 
> 
> 
> <variable name="l3m_data">
> 
> <attribute name="units" value="degrees_Celsius"/>
> 
> <attribute name="scale_factor" value="0.000717185"/>
> 
> <attribute name="add_offset" value="-2.0"/>
> 
> <attribute name="missing_value" value="0.0"/>
> 
> <attribute name="standard_name" value="SST_MONTHLY_AVERAGE"/>
> 
> </variable>
> 
> 
> 
> </aggregation>
> 
> </netcdf>
> 
> </dataset>
> 
> </catalog>
> 
> 
> 
> _______________________________________________________________________________________
> 
> <http://www.azti.es/>  <http://www.azti.es/>
> 
> Yolanda Sagarminaga
> 
> AZTI - Tecnalia / Unidad de InvestigaciÃn Marina
> 
> Herrera kaia portualdea z/g
> 20110 Pasaia (Gipuzkoa)
> Tel: 943 004 800 - Fax: 943 004 801
> e-mail: address@hidden
> 
> www.azti.es ; www.tecnalia.info
> 
> 
> 
> P Salva un Ãrbol...por favor, no imprimas este correo a menos que realmente 
> lo necesites
> 
> _______________________________________________________________________________
> 
> **************** LEGE OHARRA **************** AVISO LEGAL **************** 
> DISCLAIMER ****************
> 
> Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua 
> dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu 
> gabe.
> 
> Este mensaje es personal y confidencial y su uso no autorizado està 
> prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo, sin 
> reenviarlo ni conservarlo.
> 
> This message is personal and confidential, unauthorised use is legally 
> prohibited. If you are not the intended recipient, delete it without 
> resending or backing it.
> 
> 
> 
> 
> 
> 
> 


Ticket Details
===================
Ticket ID: GCF-142943
Department: Support THREDDS
Priority: High
Status: Open


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.