-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestion for rechdf5 output: add actual recorded location and distance to target #132
Comments
@jf-huang Can you check the tang/sachdf5new branch and run your test case? |
@houjun Thanks for the quick response! I have run a test case and the new branch gives the same info as the USGS format. Besides, I was wondering if it's advisable to store the actual X/Y/Z coordinates as well when isnsew is set to 0 (false) in view that the X/Y/Z coordinates are explicitly requested by the user? |
Currently “STX,STY,STZ” should store the SW4 X/Y/Z values regardless of
ISNSEW
On Wed, Aug 24, 2022 at 22:18 jfhuang ***@***.***> wrote:
@houjun <https://github.com/houjun> Thanks for the quick response! I have
run a test case and the new branch gives the same info as the USGS format.
Besides, I was wondering if it's advisable to store the actual X/Y/Z
coordinates as well when isnsew is set to 0 (false) in view that the X/Y/Z
coordinates are explicitly requested by the user?
—
Reply to this email directly, view it on GitHub
<#132 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAYWMWXHAFXGAI3L5UG333LV236ZHANCNFSM56KBY5XQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Thanks,
Tang
|
Sorry I wasn't clear, I meant the actual X/Y/Z (i.e., mGPX/mGPY/mGPZ in TimeSeries.C). I am asking because the geographic coordinates are not easy to interpret sometimes and actual X/Y/Z may be easier in hypothetical runs. |
@jf-huang I just pushed an update to add "ACTUALSTX,STY,STZ" to each station group, can you try it out? |
@houjun It works, thanks! |
Updated code merged to developer |
Sorry I wasn't clear, I meant the actual X/Y/Z (i.e., mGPX/mGPY/mGPZ in
TimeSeries.C). I am asking because the geographic coordinates are not
easy to interpret sometimes and actual X/Y/Z may be easier in
hypothetical runs.
…On 8/25/2022 8:47 AM, Houjun Tang wrote:
Currently “STX,STY,STZ” should store the SW4 X/Y/Z values regardless of
ISNSEW
On Wed, Aug 24, 2022 at 22:18 jfhuang ***@***.***> wrote:
> @houjun <https://github.com/houjun> Thanks for the quick response! I
have
> run a test case and the new branch gives the same info as the USGS
format.
>
> Besides, I was wondering if it's advisable to store the actual X/Y/Z
> coordinates as well when isnsew is set to 0 (false) in view that the
X/Y/Z
> coordinates are explicitly requested by the user?
>
> —
> Reply to this email directly, view it on GitHub
> <#132 (comment)>,
> or unsubscribe
>
<https://github.com/notifications/unsubscribe-auth/AAYWMWXHAFXGAI3L5UG333LV236ZHANCNFSM56KBY5XQ>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
--
Thanks,
Tang
—
Reply to this email directly, view it on GitHub
<#132 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKQBLZFSZ622V7ZNVPJP33DV26IRBANCNFSM56KBY5XQ>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
When SW4 outputs the receiver time histories in the USGS ASCII file format, the actual location of the receiver and the distance to the target are recorded, an example is shown below:
Station: D_01_01
Target location (WGS84 longitude, latitude) (deg): -1.223651e+02 3.769469e+01
Actual location (WGS84 longitude, latitude) (deg): -1.223652e+02 3.769462e+01
Distance from target to actual location (m): 1.131371e+01
However, in the rechdf5 file, only the target location is available which may be far away from the actual location depending on the grid size. Would be great if the two pieces of information can be added back as two additional datasets or as attributes of the station. Actual X/Y/Z coordinates or longitude/latitude/depth can be stored based on the isnsew option.
The text was updated successfully, but these errors were encountered: