NetCDF data output#
PALM is able to output data of different quantities as time series, vertical profiles (usually horizontally averaged), two-dimensional cross sections or 3d-volume data. Depending on the kind of output (time series, profiles, etc.) and the output format (ASCII or binary) data is written to different files (file descriptions can be found here). All data output files are in netCDF format, which can be processed by numerous open source and commercial visualization software. Data from netCDF files can also be easily read from python of Fortran programs provided that a netCDF library is installed.
The format of netCDF files generated by PALM is determined by the runtime-parameter netcdf_data_format. The accuracy of the netCDF output data can be set with parameter netcdf_precision. By default, data has single (4 byte) precision in order to keep the file size small.
In order to further reduce the netCDF file size, different compression algorithms can be used for output of 2d- and 3d-data (see netcdf_compression_method, netcdf_compression_level, and netcdf_compression_nsd).
The following table gives an overview about the different kind of netCDF output data offered by PALM. In addition to the local names of the files, the table also lists the minimum parameter settings which are necessary to switch on the output, as well as the parameters to be used to control the output.
In addition to the kind of data listed above, it is possible to output quantities at arbitrary locations by using the masked data output.