Project

General

Profile

Statistics
| Revision:

# Date Author Comment
11736 11/25/2013 12:59 AM Aaron Marcuse-Kubitza

schemas/vegbien.sql: collected_dates: documented runtime (2.5 min)

11735 11/25/2013 12:57 AM Aaron Marcuse-Kubitza

schemas/vegbien.sql: collected_date_min: replaced with collected_dates view that lists all dates we have, so that we can determine which of these may be valid. it turns out that we have data collected from very far back (to the year 1), which are not merely 2-digit years because PostgreSQL will only parse early years when there are 4 digits.

11734 11/25/2013 12:26 AM Aaron Marcuse-Kubitza

added planning/publication/KNB/submission.published.old_site.maff, submission.published.eml.xml from old KNB site

11733 11/25/2013 12:18 AM Aaron Marcuse-Kubitza

added planning/publication/KNB/submission.*

11732 11/24/2013 11:48 PM Aaron Marcuse-Kubitza

bugfix: schemas/vegbien.sql: collected_date_min: exclude invalid dates < 1000-01-01

11731 11/24/2013 11:41 PM Aaron Marcuse-Kubitza

bugfix: schemas/vegbien.sql: collected_date_min: exclude -infinity

11730 11/24/2013 11:13 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: added collected_date_min view

11729 11/21/2013 05:20 PM Aaron Marcuse-Kubitza

inputs/CVS/plot_/: translated column filters to postprocessing derived columns, using the steps at http://wiki.vegpath.org/Adding_new-style_import_to_a_datasource#1-Translate-filters-to-postprocessing-derived-columns

11728 11/21/2013 04:59 PM Aaron Marcuse-Kubitza

/README.TXT: Full database import: verifying import: In PostgreSQL: don't include current values of the datasource counts, etc., because these may change and should always be re-checked at wiki.vegpath.org/VegBIEN_contents

11727 11/21/2013 04:27 PM Aaron Marcuse-Kubitza

inputs/CVS/plot_/postprocess.sql: added pkey from the primary joined table

11726 11/21/2013 04:11 PM Aaron Marcuse-Kubitza

inputs/CVS/plot_/map.csv: documented assumptions about the units of fields

11725 11/21/2013 03:52 PM Aaron Marcuse-Kubitza

inputs/CVS/plot_/map.csv: documented assumptions about the units and meaning of numeric codes for fields

11724 11/21/2013 03:01 PM Aaron Marcuse-Kubitza

inputs/CVS/plantConcept_/: translated multi-column filters to postprocessing derived columns, using the steps at http://wiki.vegpath.org/Adding_new-style_import_to_a_datasource#1-Translate-filters-to-postprocessing-derived-columns

11723 11/21/2013 02:54 PM Aaron Marcuse-Kubitza

inputs/CVS/plantConcept_/: translated multi-column filters to postprocessing derived columns, using the steps at http://wiki.vegpath.org/Adding_new-style_import_to_a_datasource#1-Translate-filters-to-postprocessing-derived-columns

11722 11/21/2013 01:59 PM Aaron Marcuse-Kubitza

web/links/index.htm: updated to Firefox bookmarks. BIEN: added DataONE compatibility links.

11721 11/21/2013 01:58 PM Aaron Marcuse-Kubitza

inputs/CVS/plantConcept_/postprocess.sql: added pkey from the primary joined table

11720 11/21/2013 01:11 PM Aaron Marcuse-Kubitza

inputs/CVS/observation_/postprocess.sql: added pkey from the primary joined table. added _parent index to facilitate joins.

11719 11/21/2013 01:08 PM Aaron Marcuse-Kubitza

fix: inputs/input.Makefile: $(svnFilesGlob): removed schema and PDF files, since these are owned by the data provider and should not be in the repository that gets open-sourced

11718 11/21/2013 01:01 PM Aaron Marcuse-Kubitza

bugfix: inputs/CVS/observation_/create.sql: only include one soilObs for each observation (using DISTINCT ON), rather than just left-joining them

11717 11/21/2013 11:59 AM Aaron Marcuse-Kubitza

inputs/: removed SALVIAS-CSV, because this is a sample datasource which was only there to test the mapping process. it should not be adding records that duplicate SALVIAS, nor should it take up maintenance effort (switching to new-style import, updating to match SALVIAS, etc.).

11716 11/21/2013 11:52 AM Aaron Marcuse-Kubitza

planning/timeline/timeline.2013.xls: removed the weeks of 12/23, 12/30 because these are during winter break. rescheduled tasks.

11715 11/21/2013 11:08 AM Aaron Marcuse-Kubitza

inputs/.TNRS/schema.sql: updated runtime (30 min) and rowcount (+2 million)

11714 11/21/2013 10:23 AM Aaron Marcuse-Kubitza

planning/timeline/timeline.2013.xls: rescheduled tasks

11713 11/21/2013 10:16 AM Aaron Marcuse-Kubitza

planning/timeline/timeline.2013.xls: crossed out and hid completed tasks

11712 11/21/2013 10:14 AM Aaron Marcuse-Kubitza

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

11711 11/21/2013 09:04 AM Aaron Marcuse-Kubitza

fix: inputs/.TNRS/schema.sql: tnrs_populate_fields(): is_valid_match: set this to false if Taxonomic_status is Invalid

11710 11/21/2013 08:53 AM Aaron Marcuse-Kubitza

schemas/vegbien.sql: analytical_stem_view: added taxonomic_status. notice that PostgreSQL 9.3 puts each view column on a separate line, making it much easier to review the svn diff!

11709 11/21/2013 08:49 AM Aaron Marcuse-Kubitza

inputs/.TNRS/schema.sql: added map_taxonomic_status()

11708 11/21/2013 08:48 AM Aaron Marcuse-Kubitza

inputs/.TNRS/schema.sql, data.sql: updated for PostgreSQL 9.3

11707 11/21/2013 08:26 AM Aaron Marcuse-Kubitza

bugfix: inputs/CVS/stemCount_/map.csv: ensure the aggregateoccurrence.sourceaccessioncode is always populated, because this is a required field when using sourceaccessioncodes. without it, the import will exclude rows which lack a value in this field because it cannot deduplicate on it for these rows, leading to the dropping of large numbers of occurrences. this shows up when comparing provider_count to the input table's row count, and produces the following error in the .errors table:...

11706 11/21/2013 07:40 AM Aaron Marcuse-Kubitza

fix: schemas/vegbien.sql: taxon_trait_view: include only TNRS-valid names

11705 11/21/2013 12:24 AM Aaron Marcuse-Kubitza

copyright scrub: inputs/: removed data provider-owned schema and documentation files, which are not BIEN copyright and should not be part of what is submitted for open-sourcing. these files will remain accessible via the web interface (fs.vegpath.org), but will not be in the repository.

11704 11/21/2013 12:02 AM Aaron Marcuse-Kubitza

added inputs/TEAM/_src/data_cart.tsv, containing the content extracted from data_cart.maff

11703 11/20/2013 11:38 PM Aaron Marcuse-Kubitza

web/links/index.htm: updated to Firefox bookmarks. BIEN: open-sourcing: added UArizona and iPlant IP policies, which are relevant to Brad's numerous documentation and schema-modeling contributions in our repository (most done while he was an iPlant employee).

11702 11/20/2013 10:49 PM Aaron Marcuse-Kubitza

removed inputs/TEAM/_src/data_cart.pdf since this does not contain all the info in data_cart.maff

11701 11/20/2013 01:21 PM Aaron Marcuse-Kubitza

added planning/legal/open-sourcing/request_to_open_source_software.orig.docx.url

11700 11/20/2013 01:18 PM Aaron Marcuse-Kubitza

added planning/legal/open-sourcing/, which will contain the "request to open source software" form (this cannot be under version control due to copyright limitations stated in the form)

11699 11/19/2013 09:21 PM Aaron Marcuse-Kubitza

web/links/index.htm: updated to Firefox bookmarks. BIEN: open-sourcing: added potential licenses we could use (public domain/CC0, BSD, GNU Verbatim Copying License, not CC-BY because incompatible w/ GPL).

11698 11/19/2013 08:31 PM Aaron Marcuse-Kubitza

web/links/index.htm: updated to Firefox bookmarks. BIEN: added links related to open-sourcing it, including the "Request to Open Source Software" form, the funding sources that need to be included in it, and part of the delegation of authority chain (from the UC Regents) that authorizes the open-sourcing.

11697 11/18/2013 11:38 PM Aaron Marcuse-Kubitza

backups/TNRS.backup.md5: updated

11696 11/18/2013 05:40 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: sync_analytical_stem_to_view(): use new util.force_recreate() instead of manually dropping and re-creating every view that uses this. this avoids the need to add several lines to this function every time we add a new scientific view (of which we expect to have many), because force_recreate()'s error parsing handles this automatically. this makes it possible for a non-expert user to add scientific views without compromising the ability to add columns to analytical_stem_view, because they don't need to understand Postgres's dependency error messages when updating analytical_stem with this function.

11695 11/18/2013 05:32 PM Aaron Marcuse-Kubitza

schemas/util.sql: added force_recreate(), for use by sync_analytical_stem_to_view(). this uses the new `GET STACKED DIAGNOSTICS` in PostgreSQL 9.3 to access the DETAIL section of the dependent_objects_still_exist error.

11694 11/18/2013 12:10 PM Aaron Marcuse-Kubitza

web/links/index.htm: updated to Firefox bookmarks. upgrading to PostgreSQL 9.3: added Linux pg_upgrade steps and install instructions. added Mac PostGIS, psycopg2 install steps. added note that after installing, you need to restore config values that the upgrade reset: in pgAdmin > Preferences > Query tool > Query editor, set Max characters per column back to -1 (to avoid cells being truncated). (this is not a bug in PostgreSQL, only in pgAdmin, and does not signal a need to downgrade.)

11693 11/18/2013 06:52 AM Aaron Marcuse-Kubitza

planning/timeline/timeline.2013.xls: hid previous weeks

11692 11/18/2013 06:51 AM Aaron Marcuse-Kubitza

planning/timeline/timeline.2013.xls: rescheduled tasks

11691 11/18/2013 06:45 AM Aaron Marcuse-Kubitza

planning/timeline/timeline.2013.xls: added timespan checkmarks

11690 11/18/2013 06:44 AM Aaron Marcuse-Kubitza

planning/timeline/timeline.2013.xls: hid completed tasks

11689 11/18/2013 06:43 AM Aaron Marcuse-Kubitza

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

11688 11/18/2013 06:23 AM Aaron Marcuse-Kubitza

inputs/CVS/run: `make .../reinstall`: documented vegbiendev runtime (45 min)

11687 11/18/2013 05:35 AM Aaron Marcuse-Kubitza

removed inputs/CVS/cvs-archive-2012-12-04.schema.sql, which has been replaced by cvs-eep-archive-2013-10-22-VegBIEN.schema.sql

11686 11/18/2013 05:05 AM Aaron Marcuse-Kubitza

bugfix: /README.TXT: to backup files not in Time Machine: PostgreSQL: need to run with `overwrite=1` so removed files are also deleted

11685 11/18/2013 05:02 AM Aaron Marcuse-Kubitza

/README.TXT: to backup files not in Time Machine: PostgreSQL: only stop PostgreSQL after all files have been copied, to minimize the time that the PostgreSQL server is down (the final copy just copies concurrent changes)

11684 11/18/2013 05:02 AM Aaron Marcuse-Kubitza

/README.TXT: to backup files not in Time Machine: PostgreSQL: only stop PostgreSQL after all files have been copied, to minimize the time that the PostgreSQL server is down (the final copy just copies concurrent changes)

11683 11/18/2013 04:59 AM Aaron Marcuse-Kubitza

/README.TXT: updated to PostgreSQL 9.3

11682 11/18/2013 04:54 AM Aaron Marcuse-Kubitza

added inputs/CVS/_src/cvs-eep-archive-2013-10-22-VegBIEN.zip.url

11681 11/18/2013 04:54 AM Aaron Marcuse-Kubitza

added inputs/CVS/cvs-eep-archive-2013-10-22-VegBIEN.schema.sql

11680 11/18/2013 04:52 AM Aaron Marcuse-Kubitza

inputs/CVS/run: documented `make .../reinstall` runtime (25 min)

11679 11/18/2013 04:27 AM Aaron Marcuse-Kubitza

inputs/VegBank/stemlocation_/header.csv: updated from reinstalling stemlocation_

11678 11/18/2013 04:26 AM Aaron Marcuse-Kubitza

added inputs/CVS/_src/cvs-eep-archive-2013-10-22-VegBIEN.schema.sql

11677 11/18/2013 04:23 AM Aaron Marcuse-Kubitza

added inputs/CVS/_src/cvs-eep-archive-2013-10-22-VegBIEN.schema.sql.run, which makes the SQL suitable for PostgreSQL

11676 11/18/2013 03:52 AM Aaron Marcuse-Kubitza

bugfix: inputs/input.Makefile: sql/install: exit on error by using `set -o pipefail`

11675 11/18/2013 12:43 AM Aaron Marcuse-Kubitza

fix: /Makefile: $(macPostgresLibs): added libpq.5, which is needed by PostgreSQL 9.3

11674 11/18/2013 12:29 AM Aaron Marcuse-Kubitza

fix: /Makefile: postgres-Darwin: also need to install psycopg2

11673 11/17/2013 11:27 PM Aaron Marcuse-Kubitza

/Makefile: postgres-Linux: add the PostgreSQL 9.2 apt-src in case we ever need to downgrade to it

11672 11/17/2013 10:57 PM Aaron Marcuse-Kubitza

bugfix: /Makefile: postgres-Linux: ignore errors if `sudo apt-get update` returns a non-zero exit status due to unreachable apt sources (which are likely unrelated to PostgreSQL, and should not prevent PostgreSQL configuration from continuing)

11671 11/17/2013 10:54 PM Aaron Marcuse-Kubitza

bugfix: /Makefile: postgres-Linux: fixed command to create /etc/apt/sources.list.d/pgdg.list

11670 11/15/2013 06:29 AM Aaron Marcuse-Kubitza

schemas/*.conf: upgraded to PostgreSQL 9.3, which is needed for proper exception parsing in the auto-re-create-views functionality

11669 11/15/2013 04:29 AM Aaron Marcuse-Kubitza

/Makefile: postgres-Linux: also install postgresql-#-postgis-scripts, which is used by derived/biengeo/

11668 11/14/2013 02:36 PM Aaron Marcuse-Kubitza

bugfix: schemas/vegbien.sql: plantobservation_aggregateoccurrence_count_1(): only default aggregateoccurrence.count to 1 for specimens data, because plots data may have any number of individuals in a taxon_presence record that has no explicit individual_count

11667 11/14/2013 02:32 PM Aaron Marcuse-Kubitza

schemas/*.sql: updated for PostgreSQL 9.3. this reorders some functions, adds empty comment headers for omitted SEQUENCE SET commands, and (best of all) finally splits view columns onto multiple lines, so that changes in the columns are actually legible (and produce their own svn diff!)

11666 11/14/2013 01:00 PM Aaron Marcuse-Kubitza

planning/timeline/timeline.2013.xls: added tasks "create high-level workflow diagram" and "load BIEN2 exports directly from raw data", as requested by Martha

11665 11/14/2013 07:19 AM Aaron Marcuse-Kubitza

bugfix: lib/Firefox_bookmarks.reformat.csv: remove empty <DD> tags (which Firefox now adds for all bookmarks) so they don't create a blank space on the page

11664 11/14/2013 07:16 AM Aaron Marcuse-Kubitza

bugfix: lib/Firefox_bookmarks.reformat.csv: don't prepend "page's description:" to empty <DD> tags, which Firefox now adds for all bookmarks, even if they don't have a description

11663 11/14/2013 07:06 AM Aaron Marcuse-Kubitza

web/links/index.htm: updated to Firefox bookmarks. added instructions for upgrading PostgreSQL to 9.3, and some GBIF links.

11662 11/14/2013 06:44 AM Aaron Marcuse-Kubitza

Makefile, schemas/.Mac.conf: upgraded to PostgreSQL 9.3, which is needed for proper exception parsing in the auto-re-create-views functionality. this also removes the Mac 10.8 Mountain Lion quirks, such as renaming the postgres user to _postgres (which messed everything up, but is now back to normal).

11661 11/14/2013 04:09 AM Aaron Marcuse-Kubitza

/Makefile: postgres-Linux: added steps to install PostgreSQL 9.3, which is needed for proper exception parsing in the auto-re-create-views functionality

11660 11/14/2013 02:59 AM Aaron Marcuse-Kubitza

schemas/util.sql: added save_drop_views()

11659 11/14/2013 02:37 AM Aaron Marcuse-Kubitza

schemas/util.sql: added is_empty(anyarray)

11658 11/14/2013 02:17 AM Aaron Marcuse-Kubitza

added inputs/GBIF/_src/0001000-131106143450413.zip.md5, GBIFPortalDB-2013-09-10.dump.gz.md5

11657 11/14/2013 02:16 AM Aaron Marcuse-Kubitza

schemas/util.sql: added regexp_matches_group()

11656 11/14/2013 01:13 AM Aaron Marcuse-Kubitza

schemas/util.sql: show_create_view(): also include GRANT statements, which are necessary to fully re-create the view

11655 11/14/2013 12:54 AM Aaron Marcuse-Kubitza

schemas/util.sql: added show_grants_for(table_ regclass), for use by show_create_view()

11654 11/14/2013 12:49 AM Aaron Marcuse-Kubitza

inputs/GBIF/_src/GBIFPortalDB-2013-09-10.dump.gz.url: documented download time (5.5 h for an 18 GB file)

11653 11/14/2013 12:40 AM Aaron Marcuse-Kubitza

inputs/GBIF/_src/0001000-131106143450413.zip.url: documented download time (only 2 h for an 18 GB file)

11652 11/13/2013 08:35 PM Aaron Marcuse-Kubitza

schemas/util.sql: added save_drop_view()

11651 11/13/2013 08:33 PM Aaron Marcuse-Kubitza

schemas/util.sql: added show_create_view()

11650 11/13/2013 07:14 PM Aaron Marcuse-Kubitza

added inputs/GBIF/_src/0001000-131106143450413.zip.url (DwC-A export), GBIFPortalDB-2013-09-10.dump.gz.url (raw data), portal_26_feb_2013.war.url (raw data portal)

11649 11/13/2013 04:50 PM Aaron Marcuse-Kubitza

web/.htaccess: mod_autoindex: show .* files which are normally hidden, because these are important parts of our codebase. (the leading . is not used for access controls.) .svn folders will remain hidden to avoid clutter.

11648 11/13/2013 04:16 PM Aaron Marcuse-Kubitza

inputs/GBIF/: added LOA files: _src/use_conditions/LetterOfAgreement_template.doc, BIEN LoA agreement annex.docx

11647 11/13/2013 02:48 AM Aaron Marcuse-Kubitza

inputs/.TNRS/schema.sql: tnrs_populate_fields(): regenerate the derived cols: updated runtime (40 min)

11646 11/13/2013 01:07 AM Aaron Marcuse-Kubitza

web/links/index.htm: updated to Firefox bookmarks. added links related to PostgreSQL plain-text pkeys and the GBIF data use agreement (which is apparently much less restrictive than the LoA we signed, and would even allow the data to be public). vegetation data: placed links into subfolders by datasource.

11645 11/10/2013 07:09 PM Aaron Marcuse-Kubitza

bugfix: schemas/vegbien.sql: scrubbed_morphospecies_binomial: only append the morphospecies suffix if there is not a scrubbed specific epithet

11644 11/10/2013 07:08 PM Aaron Marcuse-Kubitza

bugfix: schemas/vegbien.sql: scrubbed_morphospecies_binomial: only populate this from the component ranks; do not put a full taxon name in here if it would otherwise be NULL

11643 11/10/2013 07:02 PM Aaron Marcuse-Kubitza

inputs/.TNRS/schema.sql: tnrs: removed no longer used Accepted_scientific_name. use scrubbed_unique_taxon_name instead.

11642 11/10/2013 07:00 PM Aaron Marcuse-Kubitza

inputs/.TNRS/schema.sql: MatchedTaxon, etc.: removed no longer used acceptedScientificName (from tnrs.Accepted_scientific_name). use scrubbed_unique_taxon_name instead.

11641 11/10/2013 06:43 PM Aaron Marcuse-Kubitza

inputs/.TNRS/schema.sql: removed no longer used AcceptedTaxon. use taxon_scrub.scrubbed_unique_taxon_name.* instead.

11640 11/10/2013 06:38 PM Aaron Marcuse-Kubitza

bugfix: schemas/vegbien.sql: tnrs_input_name: MatchedTaxon self-join: must use a NOT NULL column for a proper anti-join. this unfortunately requires the more verbose LEFT JOIN ON syntax (which allows using the pkey as the NOT NULL column) instead of NATURAL LEFT JOIN (which requires using another column, which are all nullable)

11639 11/10/2013 06:34 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: tnrs_input_name: use plain UNION, which automatically removes duplicates, rather than UNION ALL with a manual EXCEPT-removal of rows in the first SELECT

11638 11/10/2013 06:14 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: tnrs_input_name: updated to use taxon_scrub.scrubbed_unique_taxon_name.*, to avoid further dependencies on AcceptedTaxon

11637 11/10/2013 05:55 PM Aaron Marcuse-Kubitza

inputs/.TNRS/schema.sql: removed no longer used ScrubbedTaxon. use taxon_scrub instead.