Dataset Viewer
The dataset viewer is not available because its heuristics could not detect any supported data files. You can try uploading some data files, or configuring the data files location manually.
legal:
owner: NeuralOperator (https://zenodo.org/records/13993629)
license: cc-by-4.0
data_production:
physics: CFD
type: simulation
script: Converted to PLAID format for standardized access; no changes to data content.
plaid:
version: 0.1.11.dev21+g94f13b9c8
Example of commands [TO UPDATE FOR WEBDATASET]:
from datasets import load_dataset
from plaid.bridges import huggingface_bridge
repo_id = "chanel/dataset"
pb_def_name = "pb_def_name" #`pb_def_name` is to choose from the repo `problem_definitions` folder
# Load the dataset
hf_datasetdict = load_dataset(repo_id)
# Load addition required data
flat_cst, key_mappings = huggingface_bridge.load_tree_struct_from_hub(repo_id)
pb_def = huggingface_bridge.load_problem_definition_from_hub(repo_id, pb_def_name)
# Efficient reconstruction of plaid samples
for split_name, hf_dataset in hf_datasetdict.items():
for i in range(len(hf_dataset)):
sample = huggingface_bridge.to_plaid_sample(
hf_dataset,
i,
flat_cst[split_name],
key_mappings["cgns_types"],
)
# Extract input and output features from samples:
for t in sample.get_all_mesh_times():
for path in pb_def.get_in_features_identifiers():
sample.get_feature_by_path(path=path, time=t)
for path in pb_def.get_out_features_identifiers():
sample.get_feature_by_path(path=path, time=t)
This dataset was generated in PLAID, we refer to this documentation for additional details on how to extract data from sample objects.
- Downloads last month
- 39