package NcDataReader2 function ncEasyGet1D "get an interpolated value from a netCDF file" annotation ( Include="#include ", Library={"ncDataReader2", "netcdf"}); input String fileName; input String varName; input Real x; output Real y; external "C"; end ncEasyGet1D; function ncEasyGetAttributeDouble "get an attribute from a netCDF file as Real" annotation ( Include="#include ", Library={"ncDataReader2", "netcdf"}); input String fileName; input String varName; input String attName; output Real a; external "C"; end ncEasyGetAttributeDouble; function ncEasyGetAttributeLong "get an attribute from a netCDF file as Integer" annotation ( Include="#include ", Library={"ncDataReader2", "netcdf"}); input String fileName; input String varName; input String attName; output Integer a; external "C"; end ncEasyGetAttributeLong; function ncEasyGetAttributeString "get an attribute from a netCDF file as String" annotation ( Include="#include ", Library={"ncDataReader2", "netcdf"}); input String fileName; input String varName; input String attName; output String a; external "C"; end ncEasyGetAttributeString; end NcDataReader2;