Dataset Viewer
Auto-converted to Parquet Duplicate
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.00019691605120897293,0.00036329173599369824,0.0005111685022711754,0.0006461985176429152,0.0007714(...TRUNCATED)
[0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612(...TRUNCATED)
[0.0001558257354190573,0.0002811351732816547,0.00038799468893557787,0.0004820791073143482,0.00056649(...TRUNCATED)
[0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612(...TRUNCATED)
[0.00011685127537930384,0.00020321110787335783,0.0002711765409912914,0.00032646884210407734,0.000372(...TRUNCATED)
[0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612(...TRUNCATED)
[0.00025636484497226775,0.00048261473421007395,0.0006912329117767513,0.0008883490809239447,0.0010775(...TRUNCATED)
[0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612(...TRUNCATED)
[0.00018717898637987673,0.00034377959673292935,0.0004818053566850722,0.0006068699294701219,0.0007220(...TRUNCATED)
[0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612(...TRUNCATED)
[0.0002271364937769249,0.0004236967070028186,0.0006016863044351339,0.0007667196332477033,0.000921844(...TRUNCATED)
[0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612(...TRUNCATED)
[0.00012316259380895644,0.00021585992362815887,0.00029021166847087443,0.00035195372765883803,0.00040(...TRUNCATED)
[0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612(...TRUNCATED)
[0.00015486226766370237,0.0002792066370602697,0.0003850972279906273,0.00047820908366702497,0.0005616(...TRUNCATED)
[0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612(...TRUNCATED)
[0.00015413895016536117,0.0002777374174911529,0.0003828369081020355,0.0004750877560582012,0.00055757(...TRUNCATED)
[0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612(...TRUNCATED)
[0.00014555230154655874,0.0002605687768664211,0.0003570958797354251,0.0004407893866300583,0.00051473(...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