Datasets:
Search is not available for this dataset
Base_2_2/Zone/CellData/diffusion_coefficient
listlengths 16.4k
16.4k
| Base_2_2/Zone/CellData/flow
listlengths 16.4k
16.4k
|
|---|---|
[0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612(...TRUNCATED)
| [0.016911612823605537,0.03077160380780697,0.04278644174337387,0.05352364853024483,0.0632939413189888(...TRUNCATED)
|
[0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612(...TRUNCATED)
| [0.015557307749986649,0.028063010424375534,0.038723692297935486,0.04810698702931404,0.05652399361133(...TRUNCATED)
|
[0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612(...TRUNCATED)
| [0.011685228906571865,0.02032131887972355,0.02711796946823597,0.032647307962179184,0.037226740270853(...TRUNCATED)
|
[0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612(...TRUNCATED)
| [0.020034626126289368,0.037044722586870193,0.052265167236328125,0.06629440933465958,0.07947845011949(...TRUNCATED)
|
[0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612(...TRUNCATED)
| [0.01633027009665966,0.02960718795657158,0.041035573929548264,0.051181189715862274,0.060353096574544(...TRUNCATED)
|
[0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612(...TRUNCATED)
| [0.01703706756234169,0.031022241339087486,0.04316181316971779,0.054023005068302155,0.063916370272636(...TRUNCATED)
|
[0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612(...TRUNCATED)
| [0.012316507287323475,0.02158650942146778,0.02902195043861866,0.03519642353057861,0.0404276028275489(...TRUNCATED)
|
[0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612(...TRUNCATED)
| [0.015428675338625908,0.02780570276081562,0.03833756968379021,0.047591742128133774,0.055879008024930(...TRUNCATED)
|
[0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612(...TRUNCATED)
| [0.01535479910671711,0.027655718848109245,0.0381070114672184,0.047273892909288406,0.0554648861289024(...TRUNCATED)
|
[0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612(...TRUNCATED)
| [0.014556458219885826,0.026059363037347794,0.03571330010890961,0.044083841145038605,0.05147987976670(...TRUNCATED)
|
End of preview. Expand
in Data Studio
legal:
owner: Takamoto, M et al. (https://darus.uni-stuttgart.de/dataset.xhtml?persistentId=doi:10.18419/darus-2986)
license: cc-by-4.0
data_production:
physics: 2D Darcy Flow
type: simulation
script: Converted to PLAID format for standardized usage; no changes to data content.
num_samples:
train: 10000
storage_backend: hf_datasets
plaid:
version: 0.1.12
This dataset was generated with plaid, we refer to this documentation for additional details on how to extract data from plaid_sample objects.
The simplest way to use this dataset is to first download it:
from plaid.storage import download_from_hub
repo_id = "channel/dataset"
local_folder = "downloaded_dataset"
download_from_hub(repo_id, local_folder)
Then, to iterate over the dataset and instantiate samples:
from plaid.storage import init_from_disk
local_folder = "downloaded_dataset"
split_name = "train"
datasetdict, converterdict = init_from_disk(local_folder)
dataset = datasetdict[split]
converter = converterdict[split]
for i in range(len(dataset)):
plaid_sample = converter.to_plaid(dataset, i)
It is possible to stream the data directly:
from plaid.storage import init_streaming_from_hub
repo_id = "channel/dataset"
datasetdict, converterdict = init_streaming_from_hub(repo_id)
dataset = datasetdict[split]
converter = converterdict[split]
for sample_raw in dataset:
plaid_sample = converter.sample_to_plaid(sample_raw)
Plaid samples' features can be retrieved like the following:
from plaid.storage import load_problem_definitions_from_disk
local_folder = "downloaded_dataset"
pb_defs = load_problem_definitions_from_disk(local_folder)
# or
from plaid.storage import load_problem_definitions_from_hub
repo_id = "channel/dataset"
pb_defs = load_problem_definitions_from_hub(repo_id)
pb_def = pb_defs[0]
plaid_sample = ... # use a method from above to instantiate a plaid sample
for t in plaid_sample.get_all_time_values():
for path in pb_def.get_in_features_identifiers():
plaid_sample.get_feature_by_path(path=path, time=t)
for path in pb_def.get_out_features_identifiers():
plaid_sample.get_feature_by_path(path=path, time=t)
For those familiar with HF's datasets library, raw data can be retrieved without using the plaid library:
from datasets import load_dataset
repo_id = "channel/dataset"
datasetdict = load_dataset(repo_id)
for split_name, dataset in datasetdict.items():
for raw_sample in dataset:
for feat_name in dataset.column_names:
feature = raw_sample[feat_name]
Notice that raw data refers to the variable features only, with a specific encoding for time variable features.
Dataset Sources
- Downloads last month
- 9