NJ_WRITENCMLTOFILE - Reads an NcML and writes an equivalent NetcdfFile to a physical file.
SYNOPSIS
function result=nj_writeNcMLtoFile(NcMLfile, NetCDFoutfile)
DESCRIPTION
NJ_WRITENCMLTOFILE - Reads an NcML and writes an equivalent NetcdfFile to a physical file.
Note: If NcML has referenced dataset(s) in the location URI, in that case
the underlying data (modified by the NcML is written to the new file. If
the NcML does not have a reference dataset, then the new file is filled
with fill values, like ncgen.
Usage:
result=nj_writeNcMLtoFile(NcMLfile, NetCDFoutfile);
where,
NcMLfile - NcML file. File can be remote or local.
NetCDFoutfile - Output NetCDF file name with path.