Closed svw26 closed 1 year ago
Hi Sarah,
Sorry for the delay. I can't tell anything based on that traceback. The easiest thing will be if you can put the data which is having this issue into a .tar.gz and then I can try to debug it?
Did you look at e.g. the object traces (there is a DS9 reg file that the code produces which shows where its looking for objects)? Did that look sensible? And is it failing for one object? If it's something like that, you can try fiddling with the -T switch?
Cheers Matt
Hiya Matt,
No worries, OK, I'll send you an email with the two product/ folders as .zip files.
Yeah, the traces look sensible, but I wonder whether it's because of some bright stars in the field (maybe leading to saturated pixels?). I noticed that the diagnostics/ folder never got as far as the skyCheck plots, for example, in these runs.
Re: the -T switch, I've been using '-T 1.0' as my default, to minimise repeated work. I tried re-running just now with '-T 2.0' but run into the same complaint. Also, thought this was a bit weird: for the first run of the pipeline for the 2020-1-MLT-008.20200919 night, only G4Jy 148 started to be processed. Then re-running the pipeline, and specifying a different reduced/ folder for the output, it seems to have skipped G4Jy 148 and went ahead to G4Jy 1336 [completing successfully] and then G4Jy 1521 [where it ends with ValueError: array must not contain infs or NaNs
.]
Thanks, Sarah x
Hi Sarah,
I've checked some changes into the master branch, which fixes some issues with how the chip gap masking and flat fielding works (should be more robust now). After doing that, your data ran through the pipeline ok. Please take a look. I might just put this out as a new tagged release.
Cheers Matt
Changes are in 0.4.0 (now on PyPI) - please let me know if you have any more issues.
Hiya Matt,
Hope you're doing well! I'm reducing some RSS-longslit data, with a couple of nights from 2020 :S running into difficulties. In both cases ( 2020-1-MLT-008.20200919 and 2020-1-MLT-008.20200920 ) the terminal output quotes lots of RuntimeWarnings, followed by a ValueError, like so:
Please what do you suggest to fix/work around this?
Many thanks, Sarah x