From sransom at nrao.edu Mon Jul 8 13:37:51 2024 From: sransom at nrao.edu (Scott Ransom) Date: Mon, 8 Jul 2024 13:37:51 -0400 Subject: [Psrfits] script that checks PSRFITS files? Message-ID: <0bbd4360-33dd-4940-9ad4-925752ed23ad@nrao.edu> Hi All, At GBO we think we have found some possible large-scale corruption of a bunch of archival pulsar data.? We are trying to figure out exactly what is corrupted, and what we have backups of. For the former, I was going to write some kind of fairly simple python script (likely using the fitsio module, which is really fast) that checked key parameters of fold-mode and search-mode PSRFITS data to see if it was OK. Has anyone written anything like this already?? If so, can I use it as a starting point? Thanks, Scott PS: I do know about fitsverify, which is super useful.? But I was hoping for something a little bit more specific (for instance, checking to see if SUBINT row times made sense). -- Scott M. Ransom Address: NRAO Phone: (434) 296-0320 520 Edgemont Rd. email: sransom at nrao.edu Charlottesville, VA 22903 USA GPG Fingerprint: A40A 94F2 3F48 4136 3AC4 9598 92D5 25CB 22A6 7B65