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