Updated dotgen_observed.php to use data structures in datagen_db.php