desihub / desimeter

DESI coordinates and transformations
BSD 3-Clause "New" or "Revised" License
2 stars 4 forks source link

Let desimeter routines make directories for output if needed. #151

Closed schlafly closed 3 years ago

schlafly commented 3 years ago

This PR adds make-directory arguments to desi_fvc_proc and desi_fit_guide_star_coordinates. If set, output files from these two routines may be paths including directories which may not yet exist. Should these directories not yet exist, they will be created.

This is convenient if one is making a bunch of output files separated following the usual DESI YYYYMMDD/EXPID/output-EXPID.csv convention, and one does not want to preemptively make all of the YYYYMMDD/EXPID directories.

schlafly commented 3 years ago

This PR now additionally adds stats to the fvc2fp json transform file (mean, median, rms distance; number of matched positioners).

julienguy commented 3 years ago

thanks