njcuk9999 / lbl

Line by line code for radial velocity
MIT License
16 stars 3 forks source link

many warnings making useful information unseen #6

Closed clairem789 closed 1 year ago

clairem789 commented 3 years ago

When I run lbl_compute (v11) I get a thousand warnings per spectrum (see screen shot below), which apparently does not prevent the computation but prevents me from reading useful information. Any clue where it could come from? thanks

Capture d’écran 2021-05-05 à 14 28 09

njcuk9999 commented 3 years ago

So I thought I'd caught most of theses - basically (as you may be able to tell from the warning) this is when "some numpy function" encounters a NaN (or set of NaNs) from an array.

The hard part is where these are coming from (the warning only tells us which line in numpy is bad not which line in LBL) - I don't see these in our little test of Gl699.

Is this a large set of observations you are processing? The best way would be for me to try this exact set of observations and stop the code at various points to narrow down which line in LBL is causing this - then we either need to fix it or ignore the warning (depending on the bit of code causing it).

@clairem789 could you tell me the object/template and setup you are using?

@eartigau maybe once Claire has identified the setup we could copy these files to correct places on maestria so I can debug this?

clairem789 commented 3 years ago

this is GL411_GL411

clairem789 commented 3 years ago

maybe it's in the template, because it's coming at each and every spectrum... ?