Data Curation
To share data with the community, we need to make sure that the data is sain. This means that the data must be saved in the correct format, and should then conform to that format.
For this, solidipes compares the MIME type to the file extension. If the types do not correspond, an error will be raised.
Attention
Currently the command solidipes report curation does not work. Instead use the webreport to curate your data.
The supported loader formats are:
Data type |
Extension |
Comments |
|---|---|---|
DataContainer |
||
Binary |
Default Loader |
|
Code Snippet |
|
|
File |
||
|
||
Markdown |
|
|
Meshio |
|
|
|
||
|
||
Text |
|
|
Video |
|
|
The following types are not supported. This means that they will be loaded as binary.
Data Type |
Extension |
|---|---|
Sound |
.mp3, .wav, .ogg |
Note
Using the command line interface directly: (This is not recommended, instead it is recommended to use the webreport)
If you give the path for your data directory the command solidipes report curation will scan all the files in the directory and check the sanity of each file.
This means that if the file has a wrong extension (i.e. a text file with a .png extension) the program will warn you in the terminal.
It will also check if the file is empty and if it is not, it will check if the file is a valid file.
solidipes report curation /path/to/data/directory
If you are unsure on how to use the command you can always use the help command:
solidipes report curation -h
Features
Sequence of names of supported data type |
All data with consecutive names will be grouped together. The group is separated by a missing dataset in the sequence (i.e. |
|---|---|
When mime-type and .extension do not match |
Raises error |
Tables
Case |
Comments |
|---|---|
Missing Header |
Incorrect plotting, but no error raised |
Missing Data |
Incorrect plotting, but no error raised |
Images
Case |
Comments |
|---|---|
Single image of supported type |
The image will be displayed normally |
|
Are loaded as consecutive images |
PyvistaMesh
Case |
Comments |
|---|---|
Cells |
|
Points |