Comments (6)
OK, that seems like a nice addition.
from externdata.
It currently is only as part of support for v7.3 MAT-files. No plain HDF5.
from externdata.
v7.3 MAT-file actually is HDF5 with custom 128 bytes header and some defined attributes. You can use the standard HDF5 tools to work on v7.3 MAT-files.
from externdata.
I would be interested in the other way around, loading any standard HDF5 file content into Modelica, that is why I asked. Thanks for answering the question, I think this issue can be closed.
from externdata.
Question is, what you mean by "standard HDF5 file content". HDF5 is like XML, that is you define the data and datagroup layout. If you use netCDF or v7.3 MAT (or also MTSF) files, they have done it for you.
from externdata.
Question is, what you mean by "standard HDF5 file content". HDF5 is like XML, that is you define the data and datagroup layout. If you use netCDF or v7.3 MAT (or also MTSF) files, they have done it for you.
I (not the OP) would mean to be able to point to a Dataset (inside a Group or not) in an HDF5 file with the appropriate dimensions and datatype and use that just like a Dataset from a .mat file.
E.g. in the lingo of Examples.Mattest
, say timeTable(table=dataSource.getRealArray2D("group1/subgroup1/mytable", 3, 2))
That would make it easy to use this package (that effectively understands HDF5 already) to work with ~generic HDF5 (or even netCDF4?) files (e.g. from data acquisition hardware), if you don't have Matlab available.
from externdata.
Related Issues (20)
- OpenModelica HOT 11
- cannot find cell value HOT 3
- Compilation fails in Dymola 2019 FD01 with MinGW GCC HOT 2
- GCC compatiblitiy HOT 1
- Read 1D or 2D arrays HOT 19
- Fix problem with tir file example HOT 1
- throw error when variable not found HOT 12
- Writing results to different file types? HOT 2
- Evaluation at translation time and compliance with Modelica Specification HOT 3
- Read Dynamically Set Arrays from .mat File HOT 1
- CSVTest causing a translation and scripting error in OpenModelica HOT 4
- SimulationX binaries does not fit anymore HOT 2
- support for arm64 HOT 2
- Simulations (incl. `Examples.XLSXTest`) with `XLSX` do not compile on OpenModelica (v1.20, MSL4.0.0) HOT 3
- Compilation fails, linker cannot find ED_JSONFile [linux/macos] HOT 5
- MATTest example files doesn't work on last Openmodelica HOT 6
- getBoolean inconsistency between XMLFile and JSONFile HOT 1
- Dymola 2024x Refresh 1 Beta 1 - Experiments using ExternData will not compile HOT 6
- How to get value in array of structures in json? HOT 2
- Update license for bsxml-json HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from externdata.