Tag: C

Teaching

I started teaching coding skills (Pascal and C) in 1999 in a lectureship at the Technical University of Berlin, Department of Mathematics. Until today I held different lectures and classes, mainly for students of the Berlin University of the Arts, on the following topics: Coding basics using Processing Coding in Python Generative design with Rhino/Grasshopper…


ncDataReader2 | version 2.3 coming soon

Version 2.3 of my data reader library is coming in the next days. Here’s a list of recent improvements and bug fixes: added CosWin approximation added constant extrapolation example GenerateBigFile is much faster now fixed a bug with Akima and default extrapolation near the right border that existed for a long time added functions to dump…


ncDataReader2 | 2.2.4

A new release 2.2.4 of ncDataReader2 is out. Some bugs were fixed and the API has slightly changed. This version should work both with Dymola and OpenModelica on Linux and Windows. When you have a DAP-enabled netcdf library  it will even fetch data from the web in background. I already did some Dymola simulations with…


ncDataReader2 | 2.2.1

A new minor release of ncDataReader2 is coming. It only fixes one important bug: Numerical  attributes (like scale_factor and add_offset) were not read correctly with 2.2.0. Source and binary packages will follow soon.


Accessing external data from Modelica with ncDataReader2

This example demonstrates the use of the library ncDataReader2 to access data sets from Modelica in a way suitable for the simulation system. The access is handled via external functions from Modelica which read and interpolate the data stored in netCDF files. Dymola is used as the simulation system here. As ncDataReader2 is a simple,…


Reading data from the Arexx TL-500 on Linux

Some days ago I was looking for a temperature monitoring solution for some rooms and 19″-racks at the university. The Arexx TL-500 looked promising and I bought it. Unfortunately there are only Windows drivers available. But some people already analyzed the communication protocol and hacked a simple version of a linux driver: http://www.algorithm-forge.com/techblog/2010/01/linux-usb-driver-for-the-arexx-tl-500-part-ii/ There’s even…


ncDataReader2 | 2.2.0

A new release of ncDataReader2 is out. Changes include: switched from autoconf to cmake tested to compile on Linux, Windows and MacOS the easy API (EA) was completed EA works now with Modelica (Dymola): a weather file reader was implemented and tested with the  modelica library FluidFlow new documentation in english support for netCDF attributes…


ncDataReader2

|View all articles regarding ncDataReader2| ncDataReader2 is a library of C functions to access data stored in netCDF files using different interpolation and extrapolation methods. The aim of this library is to provide access from simulation systems like Modelica to data sets like weather data or measured time rows. As such systems usually require strict…