Open pscicluna opened 1 year ago
It definitely shouldn't be raising an error every time it runs -- it sounds like the hds library is not working, which is used to open the tmpADAM*/
Currently I'm having some issues getting the starlink-pyndf stuff to build on my non-intel Mac, so I don't have a solution right now. What system are you running on? If its linux I'll see if I can get a working build there to test.
I'm encountering this issue on CANFAR, running Ubuntu 20.04.4 LTS. STARLINK seems to run fine, just this bug keeps showing up.
Hi! The title pretty much describes the issue, but I'll elaborate a bit.
I'm doing SCUBA-2 reduction using the wrappers. This involves traversing the directory tree as we make different products and move them around. tmpADAM* is produced at the start of the whole script in the root of the directory structure, which we subsequently move away from to be in the same dir as the actual data. Every call to a starlink command results in an error from
get_adam_hds_values
ofstarlink.hds.error: HDS file is invalid. HDS control header is corrupt
For the most part, I don't care about the return of the method, so I can just wrap the calls in a
but in the rare cases where I do actually want the return information in python this is a problem. Do you have any idea what the cause could be and how to either work around it or stop it completely?