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

[netCDFJava #WBD-232814]: Changing the shape of variables with NcML



Hi Bob,

Yes, this is possible to do, but only because the shapes of the named 
dimensions are the same as the shapes of the anonymous dimensions they're 
replacing. Some NcML like this should do the trick:

<?xml version="1.0" encoding="UTF-8"?>
<netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2"; 
location="file:/path/to/original/dataset">
    <variable name="ot_probability" shape="time nlines npixels" type="short" /> 
</netcdf>

Cheers,
Christian

Ticket Details
===================
Ticket ID: WBD-232814
Department: Support netCDF Java
Priority: Normal
Status: Closed
===================
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.