Project

General

Profile

Statistics
| Revision:

# Date Author Comment
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

10602 08/06/2013 04:30 PM Aaron Marcuse-Kubitza

inputs/import.stats.xls: added backup times from last import

10601 08/06/2013 01:35 AM Aaron Marcuse-Kubitza

inputs/import.stats.xls: Updated import times

10600 08/06/2013 01:16 AM Aaron Marcuse-Kubitza

/README.TXT: Full database import: tailing inputs/analytical_db/logs/make_analytical_db.log.sql: increased # lines to 150 to include all lines for the last run

10599 08/06/2013 12:32 AM Aaron Marcuse-Kubitza

bugfix: bin/import_times: filtering out the Source subdirs: need to match 1 at the beginning of the line only

10598 08/06/2013 12:29 AM Aaron Marcuse-Kubitza

bin/import_times: filter out the Source subdirs, which now have single-row data and therefore are included in the rowcounts list

10597 08/04/2013 06:07 PM Aaron Marcuse-Kubitza

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

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

bugfix: schemas/util.sql: reset_col_names(): remove metadata value columns from the map table entirely, so that they are not considered to be in the table (old-style import does not use metadata value columns, so there would be no column or a different column in the metadata value column's slot)

10595 08/04/2013 05:58 PM Aaron Marcuse-Kubitza

bugfix: schemas/util.sql: trim(): need to remove all added columns, not just derived columns, because metadata value columns are also added by new-style import and need to be removed to restore a staging table to its pre-new-style state

10594 08/04/2013 05:55 PM Aaron Marcuse-Kubitza

schemas/util.sql: added added_cols()

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

bugfix: schemas/util.sql: reset_col_names(): need to avoid renaming metadata value columns, because the "from" entry is a value, not a column name

10592 08/04/2013 01:29 AM Aaron Marcuse-Kubitza

inputs/U/Specimen/map.csv: translated remaining 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

10591 08/04/2013 01:23 AM Aaron Marcuse-Kubitza

inputs/CVS/stemLocation_/test.xml.ref: set inserted row count back. it had changed because $version was still set in the environment, and this was causing a non-emtpty public schema to be used as the testing schema.

10590 08/04/2013 01:10 AM Aaron Marcuse-Kubitza

inputs/CVS/stemLocation_/test.xml.ref: updated inserted row count

10589 08/04/2013 12:59 AM Aaron Marcuse-Kubitza

bin/after_import: usage: documented that it requires $version

10588 08/04/2013 12:58 AM Aaron Marcuse-Kubitza

bugfix: /README.TXT: Full database import: To restart an aborted import for a specific table: bin/after_import: need to run it in the background

10587 08/04/2013 12:57 AM Aaron Marcuse-Kubitza

/README.TXT: Full database import: To restart an aborted import for a specific table: added step to run bin/after_import

10586 08/03/2013 09:14 PM Aaron Marcuse-Kubitza

bin/import_all: use new bin/after_import

10585 08/03/2013 09:13 PM Aaron Marcuse-Kubitza

added bin/after_import, which performs post-normalized-import actions separately from bin/import_all

10584 08/03/2013 03:34 PM Aaron Marcuse-Kubitza

bugfix: /README.TXT: Full database import: To restart an aborted import for a specific table: added by_col=1

10583 08/03/2013 03:32 PM Aaron Marcuse-Kubitza

/README.TXT: Full database import: added steps to restart an aborted import for a specific table

10582 08/03/2013 03:28 PM Aaron Marcuse-Kubitza

inputs/input.Makefile: $(import): support restarting the import where it left off by setting continue=1. this is done by grepping the restart row out of the log file's last partition.

10581 08/03/2013 03:11 PM Aaron Marcuse-Kubitza

inputs/input.Makefile: added %/import_scrub, similar to import_scrub but just imports one table

10580 08/03/2013 12:25 AM Aaron Marcuse-Kubitza

bin/import_all: with_all import_scrub: documented that this step uses $by_col, so that users know to include by_col=1 when running this step separately

10579 08/03/2013 12:24 AM Aaron Marcuse-Kubitza

bin/import_all: use column-based import (by_col=1) by default, instead of requiring the user to explicitly specify it. instead turn it off explicitly (by_col=) for row-based import.

10578 08/03/2013 12:03 AM Aaron Marcuse-Kubitza

bugfix: /README.TXT: Full database import: To back up DB: after renaming current import to public: say to replace $version with the appropriate revision, because the $version env var should not be set (otherwise the backup will try to use a nonexistent import with the given revision #)

10577 08/03/2013 12:00 AM Aaron Marcuse-Kubitza

/README.TXT: Full database import: To back up DB: updated instructions to inline setting of $dump_opts, like in bin/import_all

10576 08/02/2013 11:55 PM Aaron Marcuse-Kubitza

bin/import_all: don't set $dump_opts until running the backup command that uses it, so that the user can run this backup command separately just by copying the line out of the script (without worrying about env vars that need to be set, other than $version which is visible outside the script)

10575 08/01/2013 05:02 PM Aaron Marcuse-Kubitza

inputs/U/Specimen/: translated some 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

10574 08/01/2013 05:00 PM Aaron Marcuse-Kubitza

inputs/U/Specimen/: translated some 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

10573 08/01/2013 04:56 PM Aaron Marcuse-Kubitza

inputs/U/Specimen/map.csv: Gazetteer/Newgazett, Majorarea: documented that these are the closest equivalent for Guyana/Suriname

10572 08/01/2013 04:55 PM Aaron Marcuse-Kubitza

inputs/U/Specimen/map.csv: Majorarea: mapped to stateProvince, which is the closest equivalent for Guyana/Suriname

10571 08/01/2013 04:54 PM Aaron Marcuse-Kubitza

inputs/U/Specimen/map.csv: Gazetteer/Newgazett: remapped to county, which is the closest equivalent for Guyana/Suriname

10570 08/01/2013 04:37 PM Aaron Marcuse-Kubitza

inputs/U/Specimen/map.csv: Gazetteer, Newgazett: combine them with _alt() instead of _join() because only one of Gazetteer, Newgazett is ever populated

10569 08/01/2013 04:04 PM Aaron Marcuse-Kubitza

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

10568 08/01/2013 04:02 PM Aaron Marcuse-Kubitza

bugfix: placed inputs/NCU/Specimen/postprocess.sql under version control

10567 08/01/2013 03:57 PM Aaron Marcuse-Kubitza

bugfix: inputs/NCU/Specimen/map.csv: CatalogSeriesPrefix: enclosed comment in "

10566 08/01/2013 03:43 PM Aaron Marcuse-Kubitza

inputs/NCU/Specimen/map.csv: OwnerInstitution: remapped to specimenOwner rather than specimenHolderInstitutions. OwnerInstitution, CatalogSeriesPrefix: documented the VegCore SQL dotpath (http://wiki.vegpath.org/SQL_dotpaths) that would be used to refer to the field. this specifies the destination field at a much finer level of detail than the one-size-fits-all denormalized name.

10565 08/01/2013 02:56 PM Aaron Marcuse-Kubitza

mappings/VegCore-VegBIEN.csv: mapped municipality

10564 08/01/2013 02:46 PM Aaron Marcuse-Kubitza

inputs/NCU/Specimen/map.csv: CityLocality: remapped to municipality because this is a placename, not a verbatim locality description

10563 08/01/2013 02:25 PM Aaron Marcuse-Kubitza

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

10562 08/01/2013 02:07 PM Aaron Marcuse-Kubitza

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

10561 08/01/2013 02:02 PM Aaron Marcuse-Kubitza

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

10560 08/01/2013 01:28 PM Aaron Marcuse-Kubitza

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

10559 08/01/2013 01:11 PM Aaron Marcuse-Kubitza

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

10558 08/01/2013 11:37 AM Aaron Marcuse-Kubitza

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

10557 08/01/2013 11:07 AM Aaron Marcuse-Kubitza

/README.TXT: Full database import: don't exit the screen until after getting $version, which is defined within it

10556 08/01/2013 09:49 AM Aaron Marcuse-Kubitza

planning/timeline/timeline.2013.xls: updated for changes made in the conference call: moved Attribution and conditions of use up because it's high priority. deferred Importing to normalized VegCore until after October due to decision to use VegBIEN for the October DB.

10555 08/01/2013 03:51 AM Aaron Marcuse-Kubitza

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

10554 08/01/2013 03:46 AM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: GNRS & geovalidation steps: refactored to separate geoscrubbing (matching a named place) from prepping for geovalidation (uniquifying the lat/long and parent place). note that only bare lat/longs without official placenames will be geovalidated.

10553 08/01/2013 02:36 AM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: geovalidation: inherit from georeferencing, since applying a corrected (or confirmed) lat/long is a form of georeferencing

10552 08/01/2013 02:29 AM Aaron Marcuse-Kubitza

bugfix: schemas/VegCore/VegCore.ERD.mwb: scrubbed_geoplace: made parent_geoplace nullable to allow a scrubbed root node which has no parent. added scrubbed_name to emphasize that any place.name applied in this table is scrubbed.

10551 08/01/2013 12:47 AM Aaron Marcuse-Kubitza

inputs/CTFS/StemObservation/unmapped_terms.csv: regenerated

10550 08/01/2013 12:43 AM Aaron Marcuse-Kubitza

inputs/UNCC/Specimen/new_terms.csv: regenerated

10549 08/01/2013 12:22 AM Aaron Marcuse-Kubitza

/README.TXT: Full database import: make test by_col=1: documented that if you encounter errors, they are most likely related to the PostgreSQL error parsing in /lib/sql.py parse_exception()

10548 07/31/2013 11:58 PM Aaron Marcuse-Kubitza

bugfix: lib/sql.py: parse_exception(): MissingCastException from DoesNotExistException for function: handle overloaded functions where none of the overloads supports the given arg types (so assume text). this may have become a bug from system upgrades?

10547 07/31/2013 11:35 PM Aaron Marcuse-Kubitza

added inputs/newWorld/iso_code_gadm/VegBIEN.csv, etc., generated by running ./run

10546 07/31/2013 11:34 PM Aaron Marcuse-Kubitza

added inputs/newWorld/newWorldCountries/map.csv, etc., generated by running ./run

10545 07/31/2013 10:54 PM Aaron Marcuse-Kubitza

inputs/NY/Ecatalog_all/map.csv: PlantFungDescription: documented that PlantFung confusingly refers to the plant/fungus the specimen came from, rather than to a fungus growing on the plant

10544 07/31/2013 10:29 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: fixed lines, including changing inheritance connectors to 1:1/optional on child table

10543 07/31/2013 09:21 PM Aaron Marcuse-Kubitza

schemas/VegCore/ERD/VegCore.ERD.png.map.htm.run: reset(): noted that bin/redmine_synonyms can be used as a template

10542 07/31/2013 09:14 PM Aaron Marcuse-Kubitza

schemas/VegCore/ERD/VegCore.ERD.png.map.htm.run: reset(): noted that the dimensions precede the matched name

10541 07/31/2013 09:13 PM Aaron Marcuse-Kubitza

schemas/VegCore/ERD/VegCore.ERD.png.map.htm.run: added reset() stub, with instructions of how to autogenerate this using dimensions in ../document.mwb.xml

10540 07/31/2013 08:55 PM Aaron Marcuse-Kubitza

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

10539 07/31/2013 08:28 PM Aaron Marcuse-Kubitza

bugfix: /Makefile: postgres-Linux: phppgadmin.conf: updated `ln -s` to /etc/apache2/conf-available/ for current name of /etc/apache2/conf.d/phppgadmin.conf, which is now just phppgadmin

10538 07/31/2013 07:52 PM Aaron Marcuse-Kubitza

added planning/workflow/derived_columns/range_measurements/low-high_vs_midpoint-uncertainty.VegBank.png diagram, generated from a screenshot of the VegBank Data Dictionary (VegBank.vegpath.org/plot#Elevation)

10537 07/31/2013 05:21 PM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: party category: made it pink to match VegBank (http://vegpath.org/exchange_schemas/VegBank/vegbank.ERD.pdf), swapping colors with source. (note that source isn't red like in VegBank because black text doesn't show up well against it.)

10536 07/31/2013 05:06 PM Aaron Marcuse-Kubitza

bugfix: schemas/VegCore/VegCore.ERD.pdf: regenerated from schemas/VegCore/VegCore.ERD.mwb, without any tables moused-over. apparently, mousing over a table while saving the PDF also saves the highlighting on the fields, not just when saving the PNG.

10535 07/31/2013 04:56 PM Aaron Marcuse-Kubitza

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

10534 07/31/2013 04:52 PM Aaron Marcuse-Kubitza

inputs/HVAA/Specimen/map.csv: fieldNumber: remapped to UNUSED

10533 07/31/2013 04:32 PM Aaron Marcuse-Kubitza

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

10532 07/31/2013 04:31 PM Aaron Marcuse-Kubitza

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

10531 07/31/2013 04:25 PM Aaron Marcuse-Kubitza

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

10530 07/31/2013 04:04 PM Aaron Marcuse-Kubitza

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

10529 07/31/2013 03:59 PM Aaron Marcuse-Kubitza

inputs/SpeciesLink/Specimen/map.csv: renamed DUPLICATE#of:... output columns to be <= 63 chars long, in order to be valid PostgreSQL columns without collisions

10528 07/31/2013 03:37 PM Aaron Marcuse-Kubitza

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

10527 07/31/2013 03:12 AM Aaron Marcuse-Kubitza

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

10526 07/31/2013 03:10 AM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: rel_place: renamed to subplace to clarify that this is any place contained within another place, not just places with a position relative to their parent place

10525 07/31/2013 03:05 AM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: individual.place: don't require this to be a rel_place, because some individuals will be associated with standalone specimens, which don't have a parent place

10524 07/31/2013 02:55 AM Aaron Marcuse-Kubitza

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

10523 07/31/2013 02:49 AM Aaron Marcuse-Kubitza

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

10522 07/31/2013 02:45 AM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: require rel_place to have a parent place. merge plot_element into subplot because subplot is the only place the parent_plot constraint is imposed (individuals can now be located in any place, not just a plot).

10521 07/31/2013 02:38 AM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: individual: require it to have a place (which may be a rel_place within another place). do not require the place to be a plot_element, because individuals can be located in places other than uniformly-shaped plots.

10520 07/31/2013 02:23 AM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: regenerated exports. this now includes updating the image map for moved and new tables.

10519 07/31/2013 02:11 AM Aaron Marcuse-Kubitza

schemas/VegCore/VegCore.ERD.mwb: added plot_element to require that the associated parent place of a rel_place be a plot. added subplot to require that a subplot be a plot_element (i.e. have a parent_plot) and to show where to put subplot data.

10518 07/31/2013 01:28 AM Aaron Marcuse-Kubitza

schemas/VegCore/ERD/VegCore.ERD.png.map.htm: ERD.pdf: fixed URL since the map is now in a subdir

10517 07/31/2013 01:22 AM Aaron Marcuse-Kubitza

schemas/VegCore/ERD/VegCore.ERD.png.map.htm: added URLs, which now autoredirect to the appropriate DB table on vegbiendev

10516 07/31/2013 01:21 AM Aaron Marcuse-Kubitza

schemas/VegCore/ERD/VegCore.ERD.png.map.htm.run: cleanup(): trim growing whitespace: remove multiple spaces at a time, in case the user saved and reopened VegCore.ERD.png.map.htm but didn't run this script in between

10515 07/31/2013 01:01 AM Aaron Marcuse-Kubitza

added schemas/VegCore/ERD/.htaccess to forward unknown subdirs to vegbiendev MySQL as tables

10514 07/31/2013 01:00 AM Aaron Marcuse-Kubitza

added web/servers/vegbiendev/db/my/, which forwards to MySQL instead of PostgreSQL