blockNcDataReader
Extends from Modelica.Blocks.Interfaces.MO.
Information
The block is used to read information from .nc files.
It calls the external C functions ncEasyGet1D and ncEasyGetAttributeDouble.
Common errors
When the following error message appears:
ERROR | -43 | netcdf | NetCDF: Attribute not found
It may be due to the called function cannot find in the readed .nc
file some of the variables defined in varNameTime or varNameConstant.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| String[:] | varNameTime | ||
| String[:] | varNameConstant | ||
| String | fileName | ||
| Real[size(varNameTime, 1)] | varTimeUpperLimit | ||
| Real[size(varNameTime, 1)] | varTimeLowerLimit |