User:Rfassbind/Monthly update procedure for minor planets

Monthly update procedure

 * create Diff list (new names) with frodox/local-links, loc, server
 * create PREVIOUS.inc on server for next update
 * Downloads:
 * 1) MPC numbered MPC data-page > section "Discoveries" (direct file link:  here, 50MP)
 * 2) JPL "Numbered Asteroids (51 MB)" at http://ssd.jpl.nasa.gov/?sb_elem
 * 1) JPL "Numbered Asteroids (51 MB)" at http://ssd.jpl.nasa.gov/?sb_elem


 * Uploads
 * upload JPL and MPC files plus names.inc's to server
 * Amendmends:
 * TODO: use general config to set all variables in one location, once
 * cls MPC500kReader adjust path "/data_mpc/NumberedMPs_sep4_2016.txt"
 * cls LOMPstatistics adjust path "jpl_data/ELEMENTS.NUMBR_23Aug", Template:Minor_planet_color_code_legend
 * cls JPLfile adjust path "jpl_data/ELEMENTS.NUMBR_23Aug" (colorizer LOMP)
 * cls MPCArchive add new M.P.C release date and NumberRange


 * LOMPD
 * run sanity and update on discoverers (astronomers + institution)
 * Handle removed discoverers: (or) OK, no dropout discoverers found
 * Add new discoverers (or) No new discoverers found in MPC-500k list
 * Update Discovery Count on astronomers/institution in lead of LOMP (1006)


 * Update LoNMP: Named Minor Planets lists
 * List of named minor planets (alphabetical) (LoNMP-abc)
 * List of named minor planets (numerical) (LoNMP-num)


 * New Names
 * Generate new Names Diff
 * Update Updates_since_March_2016 and create project page
 * Create #Rs and talk-Rs


 * Update LOMP
 * New names
 * Revise discoverers
 * complete and create pages for newly numbered bodies


 * Update MoMP (only after JPL-feed is completed)

Practical steps

 * 1) Update new names, from MPC-alphbetical list (diff to previous)
 * 2) Create project page for batch of newly named
 * 3) check newly released M.P.C errata section for changed names (move #R or article before #R of corrected version is created redundandly)
 * 4) download MPC-numbered 500k file, (last number: 480806, 14 Nov 2016), move file and adjust code to new file
 * 5) LOMPD: add new discoverers
 * 6) LOMPD: update discovery count on astronomers/institutions
 * 7) LOMPD: update lead: "...MPC credits a total of 480,806 numbered minor planets to 1,007 astronomers and 237 dedicated institutions, respectively."
 * 8) LOMPD: sanity check
 * 9) LOMP: complete last existing page, add discoverer links
 * 10) LOMP: create new pLOMP, add bodies, add discoverer links, create talk-page
 * 11) #Rs MP-objects: create/move #Rs for newly named MPs. Create talk-page, create non-diacritical versions, adjust existing prov. #Rs to double redirects. Re-check erratas (see Tom's guideline). FIXES: sortkey in redirect generator (last cat), still displays prov. desig not non-diacritical article name (as long as JPL SBDB is not updated; tool does not need JPLdata for this).
 * 12) update LoNMP: alphabetical and numerical version
 * 13) download: JPL "Numbered Asteroids (51 MB)" at http://ssd.jpl.nasa.gov/?sb_elem to location amend JPLfile
 * 14) LOMP: colorize rows BG, for completed and new partial lists