sot / starcheck

BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

Hide console warnings about mag outside of grid model range #414

Closed jeanconn closed 1 year ago

jeanconn commented 1 year ago

Running against a dev chandra_models with the newest grid model in there I get all of these at console when running starcheck. Seems like we don't care if the model has that clip (I assume we hit it a bunch for mag > 10.75.

Also looks like the chandra_aca warning has the parameters in the wrong order and should be "5.0 <= mag <= 10.75".

/Users/jean/miniconda3/envs/ska3-matlab-2023.4rc6/lib/python3.10/site-packages/chandra_aca/star_probs.py:349: UserWarning: 
Model grid-* computed between mag <= 5.0 <= 10.75, clipping input mag(s) outside that range.
  warnings.warn(