[Users] Visualizing Carpet Multipatch (Llama) data

Haas, Roland rhaas at illinois.edu
Fri Jan 18 08:46:56 CST 2019


Hello Severin,

> This command:
> 
> for i in grid-coordinates.file*.h5 ; do
>   for d in x y z ; do
>     h5ls $i | gawk -vd=$d '{sub(" (Dataset|Group).*","");
>       gsub("\\\\","");
>       if(match($0,"GRID::"d) || /Parameters/) { print }}' >dsets.txt
>     hdf5_extract dsets.txt $i $d.${i#*.}
>   done
> done
Since this is a bit complex and a recurring problem, I have expanded
the hdf5_slicer tool that comes with the Einstein Toolkit such that the
code above can be replaced by

for i in grid-coordinates.file_{0,1}.h5 ; do
  for d in x y z ; do
    hdf5_slicer --nioprocs 2 --out3d-cube --match "GRID::$d" $i $d.${i#*.}
  done
done

For this to make it into the ET someone (you can do so) needs to review
the pull request here:
https://bitbucket.org/eschnett/carpet/pull-requests/25/carpetiohdf5-add-option-nioprocs-to/diff and ideally add a "Please aply" together with a "Reviewed" state to https://trac.einsteintoolkit.org/ticket/2220#ticket

Yours,
Roland

-- 
My email is as private as my paper mail. I therefore support encrypting
and signing email messages. Get my PGP key from http://pgp.mit.edu .
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
Url : http://lists.einsteintoolkit.org/pipermail/users/attachments/20190118/ed1642c1/attachment.bin 


More information about the Users mailing list