205 Gen: GedExplore.py (205.html)

Keywords

ICH180RR Python ICH180 Raspberry "Pi Zero W" Python MicroPython GedExplore WorldConnect RootsWeb Ancestry GEDCOM Site/Building FSID FindAGrave Heading Summary IX Firman T08072 Standby Generator

(To enlarge .....Click it)
thumb: IXimage.jpg
IX or DC (IX by DC) or "|><"


This article is a part of the IX family of software.

Introduction

Family Tree data is usually stored on disk in the GEDCOM format with a .GED extension. The author has accumulated many, many such files over the past 30 years. It has become difficult to distinguish them from each other. The author has written a Python program, named GedExplore, that permits the user to "explore" some of the contents of each GEDCOM file eg a summary of the family tree in the GEDCOM.

Version v05 of the GedExplore program is now available as Source 03. It can be used to quickly provide a glimpse of the contents of a GEDCOM file. Version v05 still has "built-in" file-names that function well on a Raspberry Pi400 computer. The information in the "results" has been augmented. The author is considering the creation of an Article that lists all of the GEDCOMs that he is using or has used. Assigning names to these GEDCOMs has proven to be very difficult to manage.

GedExplore Functionality

The current functionality of the GedExplore V04 program is as follows:
-opens the selected .GED file as read-only (NEVER changing it)
-reads through the whole file (displaying the record number every 1000 records)
-copies the "header" records to an internal list
-logs "erroneous" (unreadable) records to an internal list
-copies the following records to an internal dictionary
   INDI
   FAM
   Source
   Place
-lists the following as "Summary" data
   file name actually being read
   internal FILE name used to create the GEDCOM file
   record count
   INDI count
   FAM count
   Source count
   readError count
-Ask the user if the example lists (max 10 records each) should be displayed
-displays the abbreviated lists, if requested
-optionally save the explore results somewhere
-exits
Future Desired Functionality
-listing of fully orphaned individuals
-locating islands of connected individuals
-identifying multiple parents
-using some "hash" totals to ensure GEDCOM integrity over the years
-listing "impossible" birth/death dates
-displaying ultra-simple pedigree charts "on-demand"
-listing the 10 longest pedigree charts
-producing a list of individuals sorted by name, I-number, FSID & FindAGrave code
-list of Sources with their Repositories
-list of places
-list of _UIC records
-date of GedExplore analysis

-explore types of differences between 2 similar GEDCOMS

Partial Results of GedExplore v04

GedExplore Summary:
-------------------
gedFile: Cole21CMar22_asof_22DApr06_X15984.ged
FILEname: 1 FILE E:\E\2022\DocsE\Legacy Family Tree\Data\Cole21CMar22_asof_22DApr06.ged
record Count: 726883
len_gedDict: 27506
Icnt: 9920
Fcnt: 17215
Scnt: 371
errCnt: 27
first UTF-8 err_recN: 15984
Hit Enter to suppress dump of Lists:y

Lists: headers, indexes & errors:
---------------------------------
Header Record:0 HEAD
Header Record:1 SOUR Legacy
Header Record:2 VERS 9.0
Header Record:2 NAME Legacy (R)
Header Record:2 CORP Millennia Corp.
Header Record:3 ADDR PO Box 9410
Header Record:4 CONT Surprise, AZ 85374
Header Record:1 DEST Legacy
Header Record:1 DATE 6 Apr 2022
Header Record:1 SUBM @S0@
Header Record:1 FILE E:\E\2022\DocsE\Legacy Family Tree\Data\Cole21CMar22_asof_22DApr06.ged
. . . . . 
etc

Explanation of the GedExplore Summary

A more detailed explanation of the summary will soon be provided. It is still evolving.

Results of running GedExplore on a GEDCOM file

A full set of GedExplore v05 results can be seen in Source 04. A brief quick analysis of the GEDCOM produces a 15 line summary. While reading the file, the record number is displayed every 1000 records.

The user can review the summary and decide whether or not more information should be provided. Hitting the "Enter" key signals "no more info is needed". If any character is entered before the "Enter" key, the following details will be provided:
 
the full GEDCOM header information
10 first Individuals encountered (given & surname)
10 first Family Definition records
10 first Source Names
10 first Records with read-errors.

Location of GEDCOM datafiles

The author has decided to store the more important GEDCOM files on the Internet in a folder named "downloadable_files" off the root of the ePCarticles.com webpage. The more recent and more useful GEDCOM files will be listed and described in Article 49 named "Cole Family Tree in GEDCOM format (49.html)". Until recently, many historic GEDCOMs have been downloadable from the "now defunct" WorldConnect.com WebSite. Ancestry was hosting the WorldConnect site, but WorldConnect suddently went "dark". Some web surfers call this "link-rot", but I call it "Ancestry breaking their promise to make WorldConnect information always available". Ancestry is loudly heard to say "no comment". Meanwhile the author (David @ ColeCanada.com) is attempting to resurrect a few WorldConnect databases that have gone dark. Links to some of them can be found in my Article 72 named "Gen: Cole's Memorials (72.html)" under the heading "List of WorldConnect Databases".

Hey Ancestry! . . . Please at least give us access to the WorldConnect GEDCOMs again.

GedExplore Issues

There are 5 known issues with GedExplore_v05.py. Only 1 has been resolved as of 2023ISep21.
01. The user still cannot enter the name of a GEDCOM file to explore
02. Resolved: The Family ID written to the gedDict is always "F1"
03. Read errors occcur when reading some GEDCOM files on the Raspberry Pi (64-bit OS)
       This may be caused by my use of inferior microSD drives on the Pi.
       Or it may be that the 64-bit OS is failing from time-to-time.
04. The YLCcnt is misnamed. It is a list of "special" records.
05. A list of the top 10 surnames needs to be added.

Misc Photos

The leftmost image is the Firman T08072 Tri-fuel Standby Generator (Source 06 and Source 07). The rightmost image shown below is a wiring diagram for a PiR2P protoboard for use with the Raspberry Pi. It has not yet been wired. More details about the PiR2P can be found in Source 10, which takes you to Article 191 A&C: PiR2W Controller (191.html)

(To enlarge .....Click it)
thumb: T08072.jpg
Firman T08072 Standby Generator


(To enlarge .....Click it)
thumb: IMG_5197.jpg
PiR2 prototype wiring diagram


Related Thoughts

 Charging Times for an Electric Vehicle (EV)

Tesla charging times: click on Source 05 www below.
Firman T08072 5500W Tri-Fuel Standby Generator at Source 06 below.

An EV might need to be charged for 170 miles of range at night.
Note that "mph" means "miles / hour of charging time"
Commercial "Superchargers" would charge an EV with 480v x 300 amps (340    mph)
Upgraded res 240v system charges an EV with 240v x160 amps:200%    ( 56    mph)
Normal "city" power would charge it with 240v x 50 amps.           ( 17.5  mph)
The T08072 would charge an EV with 240v x 20 amps which is  25%    (  7    mph)
A normal extension cord charges with 110v x 15 amps which is 8%    (  2.6  mph)
The T08072 would take 24 hours to charge an EV for 170 miles of driving. Doh? The web "says" that a T08072 will run 7.4 hours on a 20 lb propane tank and it runs 12 hours on 8 gallons of gasoline. T08072 Detailled Operating Information
(To enlarge .....Click it)
thumb: T08072_Controls.jpg
T08072 Controls

Exhaust goes out the "handle" side, not the "wheels" side.

 Supplied with the T08072 Generator
-warranty card (to be mailed in)
-small pouch of tools
-oil funnel
-container of 1 quart of oil
-LPG/NG regulator hose
-T08072 Operator's manual
-starting instructions (10 page laminated booklet)

Change the oil every 8 to 24 hours of runtime.
Filling the oil takes 1 quart of oil.
No fuel stabilizer is supplied with the generator.
The weight is 212 pounds.
Noise Level: 72 to 90 decibels

 Firman T08072 Replacement Parts / Materials 
(Phone: 1-844-347-6261)
Oil:        SAE 10W-30 API SL or higher
Gasoline    unleaded min. 87 octane (max 10% ethanol)
LPG         Liquified Propane Gas in a 20 lb or 30 lb cylinder
Spark Plug  Firman P/N 330723001 0.020-0.024 in (0.5-0.6 mm)
            Champion N9YC gap:   0.028-0.031 in (0.7-0.8 mm)
Air Filter  wash to clean
Battery     12v sealed lead acid 15AH

Read the article at Web Source 09 by TG Mullins about standby generators.
Watch Video Source 03 before installing and operating.


 Initial Installation Steps (for LPG:propane fuel)

-Locate the small pouch of tools (you will need them)
-Attach both back wheels (one time)
-Attach front foot assembly (one time)
-Acquire a 110v test lamp (one time)
-Acquire a full 20 pound LPG cylinder (one time)
-Acquire an external CO sensor/alarm (one time)
-Connect the black battery cable (one time)
-Select LPG [near choke] (one time)
   Do this before deselecting Gas
-FILL/CHECK GENERATOR OIL
-Locate it outside (on flat surface) in open air
-Unplug all electrical extension cables
-Select LPG/NG fuel (not gas) 
-Position propane cylinder near "hot air out" 
   (but NOT near the exhaust outlet)
-Connect to LPG cylinder using supplied hose
-Open LPG valve in regulator hose
-Open valve at LPG cylinder
-Set Choke lever to START (try half way for LPG)
-Press and hold Engine Switch (II) for 3 sec
   . . . the generator should start running
-Set Choke lever to RUN
-Wait a few minutes for the generator to stabilize
-Check Data-Minder (Multi-meter) information
   (displays Voltage, Hz, Running Hours)
-Turn ON "Power Enable" switch
-Plug in & turn ON the test lamp
-Test the operation of the GFCI
-Connect computers via a surge suppressor

Turn it off by deselecting the Gas switch.

-Once its running, it charges its battery
-A trickle charger is recommended to ensure that the
  battery remains charged over extended time periods
-No instructions are provided for trickle charging
-How to empty dirty oil?


 Additional Supplemental Items for Standby Generators (2023)
110/220v 50 foot ext. cable  HomeDepot SKU 1001529983  $149
Reliance 50a transfer switch HomeDepot SKU 1001061742  $729
20 lb propane cylinder (empty)                         $ 65

 Errata 
-item mislabelled (11) on the back is the exhaust support arm
-item not supplied: (18)-short power cord (L14-30P to 4X5-20R)
-Serial Number (20) is on the "wheel" end (away from the fuel gauge) 
  Note: my S/N is 8 40876 18072 3 (probably without the 8 and 3)

 Possible Negative Issues with the T08072 
This generator consumes more fuel than an inverter generator.
Propane fuel can be problematic in extremely cold weather.
It may fail after 2000 hours of use.
It's output has more distortion than an inverter generator.
It is quite loud.

Sources

Video Sources

Video Source V205:01: Assemble & Operate a T08072-like Generator (with LPG) (22:41m) by Bryan Hansen in 2022
Video Source V205:02: Build a tri-fuel generator enclosure (21:37m) by UnitedStatesofBuild in 2020
Video Source V205:03: Firman T08072 oil fill anmd start with LPG (14:35m) by dakotamar in 2022
Video Source V205:04: Firman T08072 Review (16:47m) by TOOLMAN TIM's WORKSHOP (Canadian) in 2021


Web Sources

Web Source S205:01:www GedExplore_v04_py (saved as .txt) by D@CC on 2023ISep20
Web Source S205:02:www GedExplore of Cole21CMar22.GED by D@CC on 2023ISep20
Web Source S205:03:www GedExplore_v05.py (saved as .txt) by D@CC on 2023ISep20
Web Source S205:04:www GedExplore: Results of Cole5k17_GE_GedExplore.txt by D@CCon 2023ISep20
Web Source S205:05:www TESLA CHARGING: THE COMPLETE GUIDE by D@CC on 2023ISep21
Web Source S205:06:www Firman T08072 Notes by D@CC on 2023ISep21
Web Source S205:07:www Firman T08072 Manual pp49 Firman before 2023ISep21
Web Source S205:08:www GedExplore_v06.py (saved as .txt) by D@CC on 2023ISep22
Web Source S205:09:www Backup Power Options for Homes in PAP by TG Mullins on 2023DApr13
Web Source S205:10:www A&C: PiR2W Controller (191.html) by D@CC on 2023DApr15


There is a way to "google" any of the part-numbers, words and phrases in all my articles. This "google-like" search limits itself ONLY to my articles. Just go to the top of "ePC Articles by Old King Cole" and look for the "search" input box named "freefind".

Click here to return to ePC Articles by Old King Cole

Date Written :2023 I Sep 20
Last Updated:2024 F Jun 30

All rights reserved 2023 by © ICH180RR

saved in E:\E\2022\DevE\MyPagesE\Globat\ePhotoCaption.com\a\205\205.html
backed up to ePhotoCaption.com\a\205\205_2023ISep20.html

Font: Courier New 10 (monospaced)
/205.html