AstarVienna / METIS_Simulations

Scripts for simulating METIS with ScopeSim
1 stars 0 forks source link

Add check that there are no stupid header keywords? #34

Closed hugobuddel closed 2 weeks ago

hugobuddel commented 5 months ago

Perhaps we should add a tool that does some sanity checks on the headers?

E.g. Lars noted in https://jira.eso.org/browse/MET-2300 that

3) The HIERARCH.pixel_size keyword (in extension 1) is not valid.

I noticed that too, which lead to a whole discussion in astropy: https://github.com/astropy/astropy/pull/16357

So while we should fix that, we should also make sure it does not happen again.

hugobuddel commented 3 weeks ago

This should be fixed with #67

hugobuddel commented 2 weeks ago

I'm closing this, as long as we remember to run the check_headers.py script.

Note that only @astronomyk can mark https://jira.eso.org/browse/MET-2300 as resolved.