Project

General

Profile

Statistics
| Revision:

# Date Author Comment
10702 08/22/2013 10:50 AM Aaron Marcuse-Kubitza

web/links/index.htm: updated to Firefox bookmarks. added link to Gmvault (Gmail backup), which wouldn't install for me on Mac (but that may be because I'm using 10.8, and Gmvault is for 10.7/10.6)

10701 08/22/2013 10:26 AM Aaron Marcuse-Kubitza

added planning/meetings/BIEN conference call availability.xlsx (backup of Google spreadsheet)

10700 08/22/2013 10:10 AM Aaron Marcuse-Kubitza

planning/timeline/timeline.2013.xls: updated for changes made in the conference call: moved Data provider validations (spot-checking) to beginning since that seems to have been decided to be a higher priority than architectural changes

10699 08/21/2013 06:50 PM Aaron Marcuse-Kubitza

schemas/util.sql: combining functions taking anyelement params which could be text: take text param instead, so that other argument types (e.g. integer) will first be implicitly cast to text instead of trying to concatenate integers directly. this fixes a bug in the VegBank.stemcount_,stemlocation_ _join() of two integer pkeys, which first needed to be cast to text. anyelement was previously used so that other text-like types such as varchar could also be used, but varchar is implicitly castable to text so keeping anyelement should not be necessary.

10698 08/21/2013 06:07 PM Aaron Marcuse-Kubitza

planning/timeline/timeline.2013.xls: added tasks to Avoid DB restructuring when ingesting a new datasource and Streamline process of mapping and adding a new datasource (not yet put in priority order)

10697 08/20/2013 08:49 PM Aaron Marcuse-Kubitza

inputs/VegBank/observation_/test.xml.ref: updated inserted row count

10696 08/20/2013 02:40 PM Aaron Marcuse-Kubitza

bugfix: inputs/VegBank/stemlocation_/map.csv: also join together taxonimportance_id, stemcount_id for aggregateOrganismObservationID so that the aggregateoccurrence pkeys match up with those imported from stemcount

10695 08/20/2013 01:40 PM Aaron Marcuse-Kubitza

bugfix: inputs/VegBank/stemcount_/map.csv: aggregateOrganismObservationID: prepend taxonimportance_id so that rows with only a taxonimportance entry (no stemcounts) will also have the required sourceaccessioncode

10694 08/20/2013 12:59 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: analytical_stem: synced with analytical_stem_view using sync_analytical_stem_to_view()

10693 08/20/2013 12:58 PM Aaron Marcuse-Kubitza

bugfix: schemas/vegbien.sql: sync_analytical_stem_to_view(): added re-creation of range_modeling_input view

10692 08/20/2013 11:40 AM Aaron Marcuse-Kubitza

schemas/vegbien.sql: analytical_stem_view: added aggregateOrganismObservationID (aggregateoccurrence.sourceaccessioncode) so aggregateoccurrences can be matched back up to their input rows (e.g. VegBank.stemcount)

10691 08/20/2013 10:31 AM Aaron Marcuse-Kubitza

inputs/VegBank/taxonobservation_/map.csv: plantname: remapped to DUPLICATE#of:plantconcept_plantname because this is an exact duplicate

10690 08/20/2013 10:24 AM Aaron Marcuse-Kubitza

bugfix: inputs/VegBank/taxonobservation_/map.csv: updated input column names for renamings in inputs/VegBank/vegbank.~.clean_up.sql

10689 08/20/2013 10:21 AM Aaron Marcuse-Kubitza

inputs/VegBank/taxonobservation_/map.csv: Species and lower ranks: remapped to EQUIV#to:plantname because these contain the taxonomic name at specific ranks, but plantname contains the taxonomic name of the plant itself, which is longer and populated more often

10688 08/19/2013 05:48 AM Aaron Marcuse-Kubitza

inputs/VegBank/taxonobservation_/create.sql: also join to plantname, since plantconcept.plantname may not always be populated when plantname.plantname is

10687 08/19/2013 05:36 AM Aaron Marcuse-Kubitza

fix: inputs/VegBank/taxonobservation_/map.csv: Species and below: remapped to _alts of scientificName, because these are actually the full taxonomic name at that rank, not just the epithet. Genus: documented that it includes the genus author.

10686 08/19/2013 05:28 AM Aaron Marcuse-Kubitza

inputs/VegBank/vegbank.~.clean_up.sql: disambiguated plantconcept.plantname, plantname.reference_id to enable joining plantconcept_->plantname

10685 08/19/2013 05:13 AM Aaron Marcuse-Kubitza

fix: inputs/VegBank/taxonobservation_/map.csv: also mapped plantname to scientificName, since int_currplantscifull is not always provided when this is. (it cannot replace int_currplantscifull, because when int_currplantscifull also provided, this often leaves out lower ranks.) this should fill in taxonomic information for taxonobservations that are currently missing it.

10684 08/19/2013 03:27 AM Aaron Marcuse-Kubitza

bugfix: schemas/vegbien.sql: analytical_stem_view: coordinates: use the coordinates from datasource_place instead of canon_place, because canon_place's coordinates are only what the geoscrubbing output and do not contain datasource-specific information such as coordsaccuracy_m

10683 08/19/2013 01:53 AM Aaron Marcuse-Kubitza

inputs/VegBank/taxonobservation_/map.csv: collector_id: remapped to UNUSED. removed LEFT JOIN collector_id->party since this field is never populated.

10682 08/19/2013 01:16 AM Aaron Marcuse-Kubitza

inputs/VegBank/plot_/map.csv: area|country|territory, region|state|province (from place table): remapped to DUPLICATE, since these have the same data as, and are populated less often than, their country/stateprovince couterparts

10681 08/18/2013 11:39 PM Aaron Marcuse-Kubitza

bugfix: inputs/VegBank/plot_/create.sql: need to join place.*plot_id* to plot.plot_id instead of plotplace_id. this is the cause of the "State is wrong, not Wyoming, but Tennessee" and "County is incorrect (not Powell, but Orange)" bugs in the VegBank spot-checking (wiki.vegpath.org/Spot-checking#Great-Smoky-Mountains-National-Park).

10680 08/18/2013 10:42 PM Aaron Marcuse-Kubitza

inputs/VegBank/taxonobservation_/map.csv: int_origplantscifull: remapped to EQUIV (to authorplantname). this is the scrubbed originalScientificName, but we do our own scrubbing.

10679 08/18/2013 10:23 PM Aaron Marcuse-Kubitza

fix: inputs/VegBank/taxonobservation_/map.csv: authorplantname: remapped to originalScientificName because it includes the name author

10678 08/18/2013 10:21 PM Aaron Marcuse-Kubitza

inputs/VegBank/taxonobservation_/map.csv: mapped int_origplant*, int_currplant* to *scientificName/*taxonName/etc.

10677 08/18/2013 09:48 PM Aaron Marcuse-Kubitza

inputs/VegBank/plot_/map.csv: elevation: documented that it has only 5 decimal places of precision, with only 9s and random #s after that

10676 08/18/2013 09:47 PM Aaron Marcuse-Kubitza

inputs/VegBank/plot_/test.xml.ref: update rowcount

10675 08/18/2013 09:15 PM Aaron Marcuse-Kubitza

inputs/VegBank/stemlocation_/map.csv: stemcode, stemxposition, stemyposition: remapped to UNUSED. stemhealth is the only data field in this table that is populated, which means that VegBank does not provide data on reobservable stems even though the schema supports it.

10674 08/18/2013 09:12 PM Aaron Marcuse-Kubitza

inputs/VegBank/observation_/postprocess.sql: added pkey

10673 08/18/2013 08:19 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: regenerated exports and udpated image map

10672 08/18/2013 08:18 PM Aaron Marcuse-Kubitza

schemas/VegCore/ERD/index.htm: regenerated

10671 08/18/2013 08:05 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: taxon_observation: added observation_in_parent_place, which points to the observation of the same taxon/individual in the parent place. this accounts for VegBank allowing multiple taxonImportances per taxonObservation, which only makes sense when each taxonImportance is from a different stratum and they point to a common taxonObservation for the parent plot.

10670 08/18/2013 07:58 PM Aaron Marcuse-Kubitza

bugfix: web/.htaccess: auto-detect dotpath in query string: need to include the path ($0) in the replacement, to avoid reverting to the root dir. (mod_rewrite replacements are not like relative URLs, which would interpret ?... as being relative to the current path, not the root.)

10669 08/18/2013 07:56 PM Aaron Marcuse-Kubitza

bugfix: web/.htaccess: auto-detect dotpath in query string: added missing $ at end of regexp

10668 08/10/2013 11:55 PM Aaron Marcuse-Kubitza

inputs/VegBIEN/db/.htaccess: allow access to schemas other than the public schema by requiring a schema before the table. currently, this does not break any existing URLs.

10667 08/09/2013 01:57 PM Aaron Marcuse-Kubitza

planning/timeline/timeline.2013.xls: rebalanced between the months. Geoscrubbing re-run: extended to September since it's not clear when Jim will have time for this.

10666 08/09/2013 01:53 PM Aaron Marcuse-Kubitza

planning/timeline/timeline.2013.xls: split Data provider validations (spot-checking) into separate tasks for VegBIEN and VegCore

10665 08/09/2013 01:49 PM Aaron Marcuse-Kubitza

planning/timeline/timeline.2013.xls: updated for July progress

10664 08/09/2013 01:25 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: geovalidation: added step at end to georeference all places to corrected_geoplace

10663 08/09/2013 12:51 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: moved all required fields before optional fields

10662 08/09/2013 12:39 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: regenerated exports and udpated image map

10661 08/09/2013 12:23 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: individual: identifying_place: documented that for specimens, this is the place the specimen was collected at. within_place: documented that this is not specified for specimens since their coordinates are usually not precise enough to identify an individual. specimen: documented that when there are multiple specimen replicates (copies) of a specimen, each gets its own specimen_observation pointing to the same specimen.

10660 08/09/2013 12:12 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: individual: added identifying_place since some individuals may be identified by their coordinates rather than a tag

10659 08/09/2013 12:06 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: added back aggregate_observation as a superclass of taxon_absence, taxon_presence. have only aggregate_observation, not taxon_observation, inherit from taxa_sampling_event because taxa_sampling_event is designed for multiple or aggregate samplings, but taxon_observation can be for just one occurrence. taxa_sampling_event: added required within_place since taxa must be sampled within a particular place. individual.place: renamed to within_place to clarify that each individual does not necessarily need its own place instance. individual_observation: added place_observed_at to serve the role that individual.place previously did (the place of an individual may change between observations).

10658 08/09/2013 10:41 AM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: aggregate_observation: renamed to individual_count for clarity. added count field. renamed traits to aggregating_traits since these are used in uniquely identifying the individual_count. taxon_presence: added cover_percent.

10657 08/09/2013 10:17 AM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: taxon_presence: documented that this is actually equivalent to VegX's aggregateOrganismObservation ("An observation applying to all occurrences of an organism"), in spite of VegCore having its own aggregate_observation table with a different purpose

10656 08/09/2013 10:12 AM Aaron Marcuse-Kubitza

schemas/VegX/.htaccess, TCS/.htaccess: prepend / to subpath so that it becomes an absolute XPath. the subpath is now usually provided as a dotpath translated to a dirpath, which would not have a leading / .

10655 08/09/2013 12:08 AM Aaron Marcuse-Kubitza

fix: schemas/VegCore/VegCore.ERD.mwb.run: comment about why the Mac version does not export the PDF correctly: clarified that it is the single-page PDF where the lines take very long to load, and the printed PDF where the colors are wrong in Adobe Reader

10654 08/09/2013 12:02 AM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb.run: documented that to edit VegCore.ERD.mwb, you must use the Linux version of MySQL Workbench. this is because the Mac version does not export the PDF correctly: the colors are wrong in Adobe Reader and the lines take very long to load. unfortunately, you also cannot switch back and forth between the two versions, because they render the lines with a different spacing, which makes the tables different sizes and misaligns the connector lines. it is especially unfortunate that the Mac version messes up the PDFs, because it uses a smaller line spacing and therefore smaller tables which allows the tables to be spaced farther apart for better readability.

10653 08/08/2013 11:49 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: aggregate_observation- and stratum-related tables: documented VegBank equivalents

10652 08/08/2013 10:20 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.my.sql: regenerated with new schema-qualifier statements

10651 08/08/2013 10:16 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.my.sql: regenerated with new schema-qualifier statements

10650 08/08/2013 10:14 PM Aaron Marcuse-Kubitza

bugfix: schemas/VegCore/VegCore.ERD.mwb.run: VegCore.my.sql/make(): use new create_db=1 option to mysqldump_local so that the dumpfile contains the necessary schema-qualifiers to be syncable with the ERD (i.e. to allow editing the ERD by changing the dumpfile)

10649 08/08/2013 07:15 PM Aaron Marcuse-Kubitza

lib/sh/db.sh: mysqldump(): added create_db=1 flag to print the CREATE DATABASE statement

10648 08/08/2013 07:15 PM Aaron Marcuse-Kubitza

bugfix: lib/sh/util.sh: pf(): echo func decl to stderr instead of stdout

10647 08/08/2013 07:10 PM Aaron Marcuse-Kubitza

lib/sh/util.sh: echo_vars(): documented that it only prints vars that are defined

10646 08/08/2013 07:10 PM Aaron Marcuse-Kubitza

lib/sh/util.sh: local_inv: also echo_vars the new var

10645 08/08/2013 06:17 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: regenerated exports and udpated image map

10644 08/08/2013 06:16 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: fixed lines

10643 08/08/2013 06:06 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: fixed lines

10642 08/08/2013 06:04 PM Aaron Marcuse-Kubitza

bugfix: schemas/VegCore/ERD/VegCore.ERD.png.map.htm: updated name of sampling_event to taxa_sampling_event

10641 08/08/2013 06:03 PM Aaron Marcuse-Kubitza

schemas/VegCore/ERD/VegCore.ERD.png.map.htm: moved place_observation-related tables before sampling_event because plots-related tables should come before occurrence-related tables

10640 08/08/2013 06:01 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: regenerated exports and udpated image map

10639 08/08/2013 05:34 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: soil_observation: allow multiple soil_observations per place_observation (e.g. at different spots), as VegBank does

10638 08/08/2013 05:27 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: method: spaced more evenly from other tables

10637 08/08/2013 05:21 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: fixed lines

10636 08/08/2013 05:20 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: *.footprint_geom_WKT: renamed to boundary_WKT for clarity

10635 08/08/2013 05:14 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: added reobservable_presence, which allows a vouchered taxon_presence (e.g. a set of aggregate_observations) to have taxon redeterminations

10634 08/08/2013 04:44 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: aggregate_observation: changed relationship to taxon_presence to many:1 instead of 1:1 inheritance, because there can be multiple aggregate_observations (e.g. size classes) for each aggregated taxon. added optional size_class field to indicate the aggregating group.

10633 08/08/2013 04:34 PM Aaron Marcuse-Kubitza

bugfix: schemas/VegCore/VegCore.ERD.mwb: method: made parent optional because top-level methods will not have a parent. rearranged to make more room for place_observation, soil_observation.

10632 08/08/2013 04:18 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: sampling_event: renamed to taxa_sampling_event for clarity. (fkey order has reversed.)

10631 08/08/2013 04:12 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: place_observation: don't inherit from sampling_event because sampling_event refers specifically to sampling taxa, and does not have anything to do with environmental measurements on the place itself. size_class: moved to occurrence half since it relates specifically to aggregate_observations, rather than plot strata.

10630 08/08/2013 03:14 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: stratum: added layer, size_class subclasses (with name now only required for layers)

10629 08/08/2013 02:51 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: stratum_event: added fkey to parent sampling_event. stratum: made space for subclasses.

10628 08/08/2013 02:22 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: added stratum_event. (the fkey order also got reversed.)

10627 08/08/2013 01:26 PM Aaron Marcuse-Kubitza

bugfix: inputs/VegBank/observation_/create.sql: ensure only one row per observation by selecting the first soilobs for each observation

10626 08/08/2013 12:09 PM Aaron Marcuse-Kubitza

bugfix: inputs/VegBank/stemlocation_/create.sql: include 1 row for each stemlocation rather than for each stemcount, because stemcounts are instead imported as part of stemcount_ (which also includes taxonimportance)

10625 08/07/2013 04:51 PM Aaron Marcuse-Kubitza

inputs/TEX/: switched to new-style import, using the steps at http://wiki.vegpath.org/Adding_new-style_import_to_a_datasource

10624 08/07/2013 04:44 PM Aaron Marcuse-Kubitza

inputs/TEX/Specimen2/: translated new multi-column filters to postprocessing derived columns, using the steps at http://wiki.vegpath.org/Adding_new-style_import_to_a_datasource#Translating-filters-to-postprocessing-derived-columns

10623 08/07/2013 04:41 PM Aaron Marcuse-Kubitza

bugfix: inputs/TEX/Specimen2/map.csv: DETERMINER FIRST NAME/LAST NAME: combined using _join_words() instead of the default _alt()

10622 08/07/2013 04:20 PM Aaron Marcuse-Kubitza

inputs/TEX/Specimen2/: translated multi-column filters to postprocessing derived columns, using the steps at http://wiki.vegpath.org/Adding_new-style_import_to_a_datasource#Translating-filters-to-postprocessing-derived-columns

10621 08/07/2013 04:13 PM Aaron Marcuse-Kubitza

inputs/TEX/Specimen2/map.csv: MISC NOTES: remapped to locationRemarks since these primarily relate to the coords. PLANT DATA: remapped to occurrenceRemarks since this is the specimenDescription.

10620 08/07/2013 03:15 PM Aaron Marcuse-Kubitza

inputs/TEX/Specimen/: translated multi-column filters to postprocessing derived columns, using the steps at http://wiki.vegpath.org/Adding_new-style_import_to_a_datasource#Translating-filters-to-postprocessing-derived-columns

10619 08/07/2013 10:22 AM Aaron Marcuse-Kubitza

inputs/UNCC/: switched to new-style import, using the steps at http://wiki.vegpath.org/Adding_new-style_import_to_a_datasource

10618 08/07/2013 09:50 AM Aaron Marcuse-Kubitza

inputs/UNCC/Specimen/: translated multi-column filters to postprocessing derived columns, using the steps at http://wiki.vegpath.org/Adding_new-style_import_to_a_datasource#Translating-filters-to-postprocessing-derived-columns. reproductiveCondition: use the suggested values at DwC.vegpath.org?reproductiveCondition instead of just joining together the values in flower and fruit.

10617 08/07/2013 09:19 AM Aaron Marcuse-Kubitza

inputs/UNCC/Specimen/map.csv: usdaRank, infrarank: documented that they should actually be mapped to infraspecificRank*. it is better to map them to taxonRank for now because infraspecificRank is now mapped to VegBIEN.

10616 08/07/2013 09:07 AM Aaron Marcuse-Kubitza

mappings/VegCore.htm: regenerated from wiki. added EQUIV (also mapped in mappings/VegCore-VegBIEN.csv).

10615 08/07/2013 09:04 AM Aaron Marcuse-Kubitza

inputs/UNCC/Specimen/map.csv: infrarank: remapped to EQUIV (of usdaRank). usdaRank, infrarank: documented the VegCore term that each would map to.

10614 08/07/2013 08:49 AM Aaron Marcuse-Kubitza

inputs/UNCC/Specimen/postprocess.sql: infrarank: remove mismapped values "L." (belong in authors, and are already there)

10613 08/07/2013 08:30 AM Aaron Marcuse-Kubitza

schemas/util.sql: added ?*>= operator (is populated more often than) from wiki.vegpath.org/Postgres_queries#is-populated-more-often-than

10612 08/07/2013 08:12 AM Aaron Marcuse-Kubitza

bugfix: web/.htaccess: parse dotpath in query string: make dotpath replacement start with ./ instead of / (which would incorrectly create an absolute URL path). this bug only appears when there is a trailing /, because this causes the matched text to be empty instead of a filesystem path with leading /.

10611 08/07/2013 08:04 AM Aaron Marcuse-Kubitza

bugfix: web/.htaccess: parse dotpath in query string: redirect so REQUEST_URI is populated from REQUEST_FILENAME: need to use - instead of $0 as the redirect destination so that REQUEST_FILENAME is used instead of the empty REQUEST_URI (i.e. the redirect vars are left untouched)

10610 08/07/2013 07:45 AM Aaron Marcuse-Kubitza

bugfix: web/.htaccess: parse dotpath in query string: need to add trailing / if dotpath so that dest path is URL path, not filesystem path (when trailing / missing, matched path is filesystem path)

10609 08/07/2013 07:44 AM Aaron Marcuse-Kubitza

backups/TNRS.backup.md5: updated for last backup

10608 08/07/2013 06:33 AM Aaron Marcuse-Kubitza

schemas/util.sql: hstore(text[], anyelement): replaced with just hstore(text[], text) so that bare literals (of type unknown) are auto-cast to text instead of causing a "could not determine polymorphic type because input has type "unknown"" error

10607 08/07/2013 05:56 AM Aaron Marcuse-Kubitza

inputs/UNCC/Specimen/map.csv: loanto, inorout: removed mapping to occurrenceRemarks because this information does not relate to the occurrence. it is also rarely populated.

10606 08/06/2013 05:07 PM Aaron Marcuse-Kubitza

inputs/import.stats.xls: added backup MD5 test time for last import

10605 08/06/2013 05:03 PM Aaron Marcuse-Kubitza

inputs/import.stats.xls: added backup upload time for last import

10604 08/06/2013 04:55 PM Aaron Marcuse-Kubitza

inputs/UNCC/Specimen/: translated single-column filters to postprocessing derived columns, using the steps at http://wiki.vegpath.org/Adding_new-style_import_to_a_datasource#Translating-filters-to-postprocessing-derived-columns

10603 08/06/2013 04:53 PM Aaron Marcuse-Kubitza

/README.TXT: Full database import: min disk space: updated import schema size for last import