konrad.convection.NonConvective.from_netcdf¶
- classmethod NonConvective.from_netcdf(ncfile, timestep=- 1, *args, **kwargs)¶
Load a model component from a netCDF file.
Note
The
konrad.netcdf.NetcdfHandler
converts variables of type double variables into float to reduce disk space. However, the underlying climt library requires input forkonrad.radiation.RRTMG
to be of type double. Make sure to perform the respective typecasting when reading variables from netCDF files.