AMReX-Codes / amrex

AMReX: Software Framework for Block Structured AMR
https://amrex-codes.github.io/amrex
Other
506 stars 337 forks source link

does fextract support extract values at a points. #4023

Open ztdepztdep opened 1 week ago

ztdepztdep commented 1 week ago

I want to extract values along sveral coordinates (x,y). how to resolve this.

zingale commented 1 week ago

do you mean you want that data at a single point?

or for a 3-d dataset, you want the line to go through a specific (x,y) and give all the z values along that line?

ztdepztdep commented 1 week ago

do you mean you want that data at a single point?

or for a 3-d dataset, you want the line to go through a specific (x,y) and give all the z values along that line?

Thanks. I mean I need data at a single points, not along a line with fextract tool.

zingale commented 1 week ago

It does not do that currently, but it would be reasonably straightforward to write such a tool

In the meantime, yt can do this for you:

https://yt-project.org/doc/examining/low_level_inspection.html#finding-data-at-fixed-points