Closed shihyuntang closed 3 years ago
Unfortunately, I don't have much time to maintain this project anymore. I'm very glad to hear it is working well for you, and for IGRINS no less! It sounds like you have a fix in a forked repo - could you just make a pull request with that fix?
Hi @kgullikson88 ,
I just made a pull request. Only 3 lines of adding. Thank you!
Hi @kgullikson88 ,
In that pull request, I also updated with option to let user suppress fortran outputs.
@gully suggested this during the JOSS review at shihyuntang/igrins_rv#4.
However, the suppress_stdout
function suggested by @gully do not work on subprocess.
Therefore, I come up with a solution by adding stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL
to the subprocess.check_call. I hope this do not conflict with any other functions.
Thank you!
This Issue was closed in PR #30 Notably this change may be slightly backwards breaking? Existing users who are used to the old behavior may wish to spot-check model output to ensure continuity with previous results? If this scenario describes you:
1). beginner please open a new Issue and report any differences in behavior you see from old version to versions after PR #30. 2). advanced Design and implement unit tests to catch these sorts of breaking changes in the future.
Thank you! :pray:
Hi,
Our radial velocity pipeline shihyuntang/igrins_rv really benefits from the Telfit code in terms of RV precision.
In our case, after using the TelluricFitter.Fit function to get the best match parameters, we want the TelluricFitter.GenerateModel function to be able to generate a model spectra under
nofit=True
mode invacuum
space.Could @gully or @kgullikson88 make the
self.air_wave
changeable in the TelluricFitter.GenerateModel function? Currently, we fork and include Telfit to our repo and manually change theTelluricFitter.py
to
Adding the option to change the status of
vac2air
from the call of theTelluricFitter class
would help us from not including TelFit in our RV package but simply tell our users to clone from the main Telfit repo. And we would all be able to benefit from Telfit's updates. Thank you!