-
Notifications
You must be signed in to change notification settings - Fork 271
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
GAMER
frontend modification for incorporating lookback time in cosmological simulation
#4070
GAMER
frontend modification for incorporating lookback time in cosmological simulation
#4070
Conversation
…me when COMOVING is on
Hi! Welcome, and thanks for opening this pull request. We have some guidelines for new pull requests, and soon you'll hear back about the results of our tests and continuous integration checks. Thank you for your contribution! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, thank you for this contribution !
This looks like a bugfix to me but I'll defer to more expert maintainers to validate that it's correct.
Hi, @neutrinoceros I have tried to fix the typos and errors you mentioned and detected by the |
@koarakawaii So in all of the other frontends in yt which use cosmology, the It also may make sense to give |
Hi @jzuhone:
I think I might make the title a little bit confusing. I guess despite the function (
As mentioned above, our implementation will use the elapsed time from the beginning of universe to a given redshift as |
Hi @koarakawaii, do we have a small cosmological dataset we can test with? No worries if not. |
@jzuhone I think we have some CDM cosmology simulation snapshots from |
If that's something you can share, definitely. |
@jzuhone I'll see whether I can upload them to |
@jzuhone We prepare a |
@koarakawaii sorry for the delay. I will check this dataset today. Is it ok if we post it to https://yt-project.org/data? We also need to add some tests for cosmological functionality to |
Hi, @jzuhone :
I think is OK to post it to https://yt-project.org/data~ But I might need some time to figure out how to do it:sweat_smile: Is there a tutorial which I can follow~?
Got you. Sounds great! |
This isn't something you have permissions for, all we need is your approval 😄 |
sorry for closing/reopening, my finger slipped |
Hi @neutrinoceros: |
@jzuhone Unless you need a specific second reviewer, I think you can merge. Just one question: would this be a candidate for backporting if we were to do another bugfix release ? |
Hooray! Congratulations on your first merged pull request! We hope we keep seeing you around! 🎆 |
Hi, this is a
GAMER
frontend modification for thecurrent_time
definition forGAMER
cosmology simulation, thank you!PR Summary
current_time
inGAMER
cosmology simulation (COMOVING
is on)current_time
equals to scale factora
, resulting in problematic value when annotating timestamp.current_time
equals to cosmological age at given redshift.current_time
is intact forCOMOVING
is off