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.16894111037254333,0.30736592411994934,0.4273395538330078,0.5345365405082703,0.6320649981498718,0.(...TRUNCATED)
[0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612(...TRUNCATED)
[0.1554911732673645,0.280466765165329,0.38699308037757874,0.48074689507484436,0.5648388266563416,0.6(...TRUNCATED)
[0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612(...TRUNCATED)
[0.11683715879917145,0.20318324863910675,0.271135538816452,0.32641535997390747,0.37219709157943726,0(...TRUNCATED)
[0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612(...TRUNCATED)
[0.19983656704425812,0.36942678689956665,0.5211186408996582,0.6608937978744507,0.7922126650810242,0.(...TRUNCATED)
[0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612(...TRUNCATED)
[0.1630687117576599,0.29560473561286926,0.4096567630767822,0.5108828544616699,0.6023743152618408,0.6(...TRUNCATED)
[0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612(...TRUNCATED)
[0.1698274463415146,0.30913668870925903,0.42999082803726196,0.538062572479248,0.6364579796791077,0.7(...TRUNCATED)
[0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612(...TRUNCATED)
[0.12314145267009735,0.2158181518316269,0.29014983773231506,0.35187262296676636,0.4041635990142822,0(...TRUNCATED)
[0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612(...TRUNCATED)
[0.1541971117258072,0.27787819504737854,0.38310864567756653,0.4755634665489197,0.5583502650260925,0.(...TRUNCATED)
[0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612(...TRUNCATED)
[0.15345503389835358,0.2763718068599701,0.3807934522628784,0.47237256169319153,0.5541940927505493,0.(...TRUNCATED)
[0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612,0.10000000149011612(...TRUNCATED)
[0.14550714194774628,0.26047924160957336,0.35696256160736084,0.4406132400035858,0.5145201086997986,0(...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
12