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

Re: [thredds] remove dimension with ncml?



Hi Remon :

Im sorry, that feature is not yet available.

John

On 3/7/2011 3:11 AM, Remon Sadikni wrote:
 Hi John,

thanks for your answer. Yes, you are right. I want to remove the dimension "ensemble" from a variable thetao(time, ensemble, level, lat, lon). Can I do this?
Ferret can only read in variables with 4 dimensions.

Thank you in advance,
Regards,
Remon



On 02/22/2011 02:50 PM, John Caron wrote:
On 10/21/2010 8:36 AM, Remon Sadikni wrote:
 Dear THREDDS Users,

I do not manage to remove a dimension with NcML. I want to remove the dimension called ensemble from a variable thetao, which has 5 dimensions: time, ensemble, level, lat, lon, because Ferret (and LAS) can only read in 4 dimensional variables. Maybe you can see a mistake in my code?

<dataset name="test" ID="test" urlPath="test">
<metadata inherited="true">
<serviceName>odap</serviceName>
<dataType>Grid</dataType>
</metadata>
<netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2"; location="http://...";>
<remove name="ensemble" type="dimension" />
</netcdf>
</dataset>

Or is it not possible to remove a dimension? I found this possibility in the NcML-2.2 Schema, but I did not find any examples for removing dimensions. I should also mention, that I access the File via OPeNDAP in the location attribute of the netcdf-tag, but this should be no problem, because I managed to remove variables in the same way (<remove name="level" type="variable">).

Thank you very much!
Regards,
Remon

_______________________________________________
thredds mailing list
address@hidden
For list information or to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/
Hi Remon:

You can remove a dimension object, but it sounds like you want to reshape a variable, which is quite different. Is that correct?

John

_______________________________________________
thredds mailing list
address@hidden
For list information or to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/