netcdfWriter Configuration

netcdfWriter Configuration

The CDM resembles a netcdf datastructure. In general, there is no need to use a configuration for this writer, but it might be useful in the following cases:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE cdm_ncwriter_config SYSTEM "cdmWriterConfig.dtd">
<cdm_ncwriter_config>

<!-- filetype are netcdf3 netcdf3_64bit netcdf4 netcdf4classic -->
<!-- compression levels are 0 (no compression) to 9 -->
<!-- <default filetype="netcdf4" compressionLevel="3" /> -->
<default filetype="netcdf3" compressionLevel="0" />

<!-- all operations below can (and must) be joined if the -->
<!-- same attribute/dimension/variable is concerned -->
<!-- i.e. a <variable name="x"... may not occur twice!!! -->

<!-- add/reassign a new global attribute -->
<attribute name="max_time" value="2008-05-28" type="string" />

<!-- add/reassign a new variable attribute -->
<variable name="air_temperature">
	<attribute name="standard_name" value="temperature" type="string" />
</variable>

<!-- change the type of a variable -->
<variable name="precipitation_amount" type="short" compressionLevel="0">
	<attribute name="_FillValue" value="-32767" type="short" />
	<attribute name="scale_factor" value="0.001" type="float" />
	<attribute name="add_offset" value="0" type="double" />
</variable>

<!-- rename a variable -->
<variable name="sea_level_pressure" newname="sea_pressure" />

<!-- rename a dimension -->
<dimension name="x" newname="x_c" />

<!--  change units from m to km-->
<!--  make sure to put the type to change the data, too!!! -->
<variable name="x" type="double">
	<attribute name="units" value="km" type="string" />
</variable>

<!-- rename a attribute -->
<attribute name="min_time" newname="minimum_time" />
</cdm_ncwriter_config>  

Generated on Fri Jan 23 14:10:10 2009 for MI - Fimex by  doxygen 1.5.5