Project

General

Profile

Statistics
| Revision:

# Date Author Comment
7444 02/05/2013 04:23 AM Aaron Marcuse-Kubitza

Added collapse_multimap, which collapses multimap entries in a spreadsheet dictionary

7443 02/05/2013 03:45 AM Aaron Marcuse-Kubitza

mappings/Veg+-VegCore.csv: Separate alternatives of ambiguous terms with , instead of ", " for easier machine-parsability

7442 02/05/2013 03:31 AM Aaron Marcuse-Kubitza

redmine_synonyms: Added support for ambiguous terms, which unlike the synonyms format nests the term (the alternative) under the synonym (the ambiguous term) rather than the synonym under the term. Note that ambiguous terms must also be prefixed with ? to differentiate them from composites (e.g. recordedBy_givenName), which use the same _-based naming convention.

7441 02/05/2013 03:08 AM Aaron Marcuse-Kubitza

mappings/VegCore.csv: Regenerated from wiki

7440 02/05/2013 02:49 AM Aaron Marcuse-Kubitza

mappings/VegCore.csv: Regenerated from wiki

7439 02/05/2013 02:22 AM Aaron Marcuse-Kubitza

schemas/vegbien.sql: analytical_stem_view: Renamed scientificNameWithMorphospecies to taxonNameWithMorphospecies because it does not contain the scientific name author, as required by DwC scientificName <http://rs.tdwg.org/dwc/terms/#scientificName>

7438 02/05/2013 01:56 AM Aaron Marcuse-Kubitza

mappings/Makefile: VegCore.tables.csv: Exclude ambiguous table names, which should not be part of the tables summary (as neither are table synonyms)

7437 02/05/2013 01:51 AM Aaron Marcuse-Kubitza

input.Makefile: $(translate?): Merged with $(translate), which is not used independently

7436 02/05/2013 01:50 AM Aaron Marcuse-Kubitza

input.Makefile: Use new translate_ci instead of translate

7435 02/05/2013 01:47 AM Aaron Marcuse-Kubitza

mappings/Makefile: Use new translate_ci instead of translate

7434 02/05/2013 01:39 AM Aaron Marcuse-Kubitza

Added translate_ci

7433 02/04/2013 11:03 PM Aaron Marcuse-Kubitza

mappings/VegCore-VegBIEN.csv: institutionCode list->sourcename mapping: _split(): Also match ; as a separator, and match separators with or without a following space

7432 02/02/2013 05:39 PM Aaron Marcuse-Kubitza

mappings/Makefile: Added target to create Veg+-VegCore.csv from VegCore.htm, initially commented out until all the synonyms in the existing Veg+-VegCore.csv are added to the VegCore data dictionary <https://projects.nceas.ucsb.edu/nceas/projects/bien/wiki/VegCore_data_dictionary>

7431 02/02/2013 05:38 PM Aaron Marcuse-Kubitza

Added redmine_synonyms, which translates a Redmine HTML page to a thesaurus

7430 02/02/2013 04:37 PM Aaron Marcuse-Kubitza

lockfile: Linux: Documented why newgrp and recursive invocation of lockfile are needed

7429 02/02/2013 04:33 PM Aaron Marcuse-Kubitza

lockfile: Linux: Fixed bug where need to change primary group of the dotlockfile process to the group of the dir to contain the lockfile, because dotlockfile otherwise reports a "permission denied" error (even though the directory is actually writable, dotlockfile thinks it isn't). Running dotlockfile with a different primary group is complicated because newgrp, the command that does this, does not pass arguments to the new process, so they must instead be passed via environment variables and a recursive invocation of lockfile (with the $inner recursion flag set). Additionally, exec cannot be used to propagate the PPID (needed by dotlockfile) because newgrp creates a new process rather than using exec, so it must be manually entered into the lockfile after dotlockfile runs.

7428 02/02/2013 02:41 PM Aaron Marcuse-Kubitza

lockfile: Linux: Fixed bug where need to lower retry count to avoid overflowing the retries variable

7427 02/02/2013 02:37 PM Aaron Marcuse-Kubitza

lockfile: Linux: Added workaround for bug in dotlockfile where using -1 to retry indefinitely doesn't work, so need to use large integer instead

7426 02/02/2013 01:49 PM Aaron Marcuse-Kubitza

lockfile: Linux: Use bin/dotlockfile instead of the system's dotlockfile, because the system's dotlockfile is SETGID mail, which prevents it from creating lockfiles in a directory owned by the bien user and group when being run by the login user

7425 02/02/2013 01:38 PM Aaron Marcuse-Kubitza

bin/: svn:ignore: Added dotlockfile, which is copied from the system during installation

7424 02/02/2013 01:30 PM Aaron Marcuse-Kubitza

bin/: svn:ignore: Removed no longer applicable test_output

7423 02/02/2013 01:26 PM Aaron Marcuse-Kubitza

root Makefile: misc-Linux: Added command to copy dotlockfile to the bin/ dir, so that it can be used without being SETGID mail, which would prevent it from creating lockfiles in a directory owned by the bien user and group when being run by the user

7422 02/02/2013 01:24 PM Aaron Marcuse-Kubitza

root Makefile: core: Added misc-* to install other dependencies

7421 02/02/2013 11:56 AM Aaron Marcuse-Kubitza

schemas/vegbien.sql: analytical_stem_view: scientificNameWithMorphospecies: Removed no longer needed canon_taxonverbatim.family alternative, since the family will be included in the canon_taxonlabel.taxonomicname by the mappings

7420 02/02/2013 11:49 AM Aaron Marcuse-Kubitza

schemas/vegbien.sql: analytical_stem_view: scientificNameWithMorphospecies: Fixed bug where need to use canon_*taxonlabel*.taxonomicname instead of canon_taxonverbatim.taxonomicname as one of the alternatives because only canon_taxonlabel.taxonomicname is guaranteed to be populated by the mappings, while canon_taxonverbatim.taxonomicname will only be populated if the datasource explicitly specifies that field. This distinction is only meaningful for data without a TNRS match, as TNRS supplies canon_taxonverbatim.taxonomicname.

7419 02/02/2013 11:28 AM Aaron Marcuse-Kubitza

import_all: after_import(): Added wait on tnrs.make's lockfile to ensure that all background scrubbing processes are complete before creating the analytical DB

7418 02/02/2013 11:18 AM Aaron Marcuse-Kubitza

import_all: Moved `waitpid $jobs` into after_import()

7417 02/01/2013 04:57 PM Aaron Marcuse-Kubitza

schemas/vegbien.ERD.mwb: Fixed table sizes

7416 02/01/2013 04:51 PM Aaron Marcuse-Kubitza

schemas/vegbien.ERD.mwb: Regenerated exports

7415 02/01/2013 04:34 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: removed all accessioncode fields, as VegBIEN does not use them

7414 02/01/2013 03:10 PM Aaron Marcuse-Kubitza

Added inputs/FIA/_src/FIADB_version4.accdb and FIADB_version4.sql (created from it using Access To PostgreSQL and the additional transformations at <https://projects.nceas.ucsb.edu/nceas/projects/bien/wiki/Tools#MS-Access-database-MDB&gt;)

7413 01/31/2013 08:20 PM Aaron Marcuse-Kubitza

Added inputs/FIA/COND_unique/, generated from new FIA data

7412 01/31/2013 08:05 PM Aaron Marcuse-Kubitza

inputs/FIA/FIA_COND_unique/create.sql: Fixed bug where need to remove `CREATE TABLE :table AS` at beginning because that is added by the make target

7411 01/31/2013 08:03 PM Aaron Marcuse-Kubitza

inputs/FIA/geoscrub.~.clean_up.sql: Moved creation of FIA_COND_unique to FIA_COND_unique/create.sql

7410 01/31/2013 07:40 PM Aaron Marcuse-Kubitza

README.TXT: Full database import: Updated time until import_all returns control to the shell to account for the TNRS names now being imported concurrently with the inputs rather than before them

7409 01/31/2013 07:31 PM Aaron Marcuse-Kubitza

mappings/VegCore-VegBIEN.csv: Also include morphospecies in the accepted taxondetermination's taxonverbatim, so that it can easily be retrieved by the analytical DB views

7408 01/31/2013 07:15 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: analytical_stem_view: scientificNameWithMorphospecies: Fixed bug where need to use the taxonName or scientificName when the name components are not provided, as is the case when there is no scrubbed taxondetermination (because TNRS returns no match)

7407 01/31/2013 06:08 PM Aaron Marcuse-Kubitza

mappings/VegCore.csv: Regenerated from wiki. This adds Brad's DwC ID terms and their definitions in <https://projects.nceas.ucsb.edu/nceas/attachments/download/621/vegbien_identifier_examples.xlsx&gt;.

7406 01/31/2013 05:06 PM Aaron Marcuse-Kubitza

schemas/vegbien.ERD.mwb: Regenerated exports

7405 01/31/2013 04:04 PM Aaron Marcuse-Kubitza

join: Added support for direct mappings to VegBIEN by passing through outputs that start with / (indicating an XPath rather than a term)

7404 01/31/2013 04:01 PM Aaron Marcuse-Kubitza

mappings/VegCore.csv: Regenerated from wiki

7403 01/31/2013 11:38 AM Aaron Marcuse-Kubitza

schemas/vegbien.sql: analytical_stem_view: Added family_matched, taxonName_matched, scientificNameAuthorship_matched

7402 01/31/2013 11:02 AM Aaron Marcuse-Kubitza

schemas/vegbien.sql: analytical_stem_view: Added family_verbatim, scientificName_verbatim, scientificNameAuthorship_verbatim from datasource taxondetermination

7401 01/31/2013 10:57 AM Aaron Marcuse-Kubitza

mappings/VegCore.csv: Regenerated from wiki

7400 01/31/2013 10:30 AM Aaron Marcuse-Kubitza

schemas/vegbien.sql: analytical_stem_view: Fixed bug where need to use identifiedBy and dateIdentified from the datasource taxondetermination rather than the canonical taxondetermination (whichever taxondetermination is most scrubbed)

7399 01/31/2013 10:23 AM Aaron Marcuse-Kubitza

schemas/vegbien.sql: taxondetermination: taxondetermination_set_iscurrent(): is_datasource_current: Fixed bug where need to filter out determinationtypes for matched/accepted determinations, which are not datasource determinations

7398 01/31/2013 10:19 AM Aaron Marcuse-Kubitza

schemas/vegbien.sql: taxondetermination: taxondetermination_set_iscurrent(): Fixed bug where need to also set existing datasource_current taxondetermination's is_datasource_current to false

7397 01/31/2013 08:52 AM Aaron Marcuse-Kubitza

xml_dom.py: replace_with_text(): Added support for all scalar (non-Node) types, which will be stringified using strings.ustr()

7396 01/31/2013 03:52 AM Aaron Marcuse-Kubitza

schemas/functions.sql: Added _fix_date()

7395 01/31/2013 02:49 AM Aaron Marcuse-Kubitza

sql_io.py: put_table(): Documented that much of the complexity of the normalizing algorithm is due to PostgreSQL not having a native command for insert/on duplicate select

7394 01/31/2013 02:24 AM Aaron Marcuse-Kubitza

sql_io.py: put_table(): Corrected "insert/if not exists get" to "insert/on duplicate select"

7393 01/31/2013 01:52 AM Aaron Marcuse-Kubitza

sql_io.py: put_table(): Removed no longer applicable requirement that it be run at the beginning of a transaction, which was only required when the output table was locked during the function call

7392 01/31/2013 01:48 AM Aaron Marcuse-Kubitza

sql_io.py: put_table(): Documented that the function's insert/if not exists get algorithm does not support database triggers that populate fields covered by a unique constraint

7391 01/31/2013 01:42 AM Aaron Marcuse-Kubitza

inputs/FIA/_src/_README.TXT: Documented that FIA does not provide data for some states, e.g. HI

7390 01/30/2013 10:48 PM Aaron Marcuse-Kubitza

config/: Set svn:ignore to exclude *password files

7389 01/30/2013 10:41 PM Aaron Marcuse-Kubitza

Removing config/bien_read_password from version control

7388 01/30/2013 10:30 PM Aaron Marcuse-Kubitza

Removing config/bien_password from version control

7387 01/29/2013 03:26 PM Aaron Marcuse-Kubitza

inputs/FIA/: Added refreshed data (not yet mapped)

7386 01/29/2013 03:15 PM Aaron Marcuse-Kubitza

input.Makefile: Existing maps discovery: $(exts): Also match uppercase versions of extensions

7385 01/29/2013 03:12 PM Aaron Marcuse-Kubitza

lib/common.Makefile: Added $(ucase) and $(ci)

7384 01/29/2013 01:56 PM Aaron Marcuse-Kubitza

inputs/FIA/_src/Makefile: Table bundling: $(tableCsvs): Fixed bug where need to replace % with $* in $(csvPattern)

7383 01/29/2013 01:15 PM Aaron Marcuse-Kubitza

inputs/FIA/_src/Makefile: Table bundling: Fixed bug where need to remove trailing slashes from dirs that will match a target pattern

7382 01/29/2013 01:09 PM Aaron Marcuse-Kubitza

inputs/FIA/_src/Makefile: Added Table bundling targets to regroup CSVs by tables

7381 01/29/2013 01:09 PM Aaron Marcuse-Kubitza

lib/common.Makefile: Added $(mkdir)

7380 01/29/2013 11:02 AM Aaron Marcuse-Kubitza

Added inputs/FIA/_src/_README.TXT with Bob's comments

7379 01/29/2013 11:02 AM Aaron Marcuse-Kubitza

input.Makefile: SVN: $(_svnFilesGlob): Added README.TXT

7378 01/29/2013 10:33 AM Aaron Marcuse-Kubitza

mappings/VegCore.csv: Regenerated from wiki. Synonym lists have now been translated to sections to create a web page anchor for each synonym, using the steps at <https://projects.nceas.ucsb.edu/nceas/projects/bien/wiki/VegCore_refactoring#Index-synonyms-as-web-page-anchors&gt;. This enables searching for VegCore synonyms in the data dictionary as well as terms, and makes it possible to swap a term and a synonym while still keeping both as indexed anchors.

7377 01/29/2013 06:19 AM Aaron Marcuse-Kubitza

mappings/VegCore.csv: Regenerated from wiki. All uncategorized terms have now been moved to tables.

7376 01/29/2013 06:19 AM Aaron Marcuse-Kubitza

README.TXT: Maintenance: VegCore data dictionary: Added steps to check that no terms were lost when moving terms

7375 01/28/2013 05:13 PM Aaron Marcuse-Kubitza

inputs/import.stats.xls: Updated import times

7374 01/28/2013 05:12 PM Aaron Marcuse-Kubitza

mappings/VegCore.csv: Regenerated from wiki

7373 01/25/2013 03:54 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: analytical_stem_view: coordinates: Only use county_centroids coordinates when datasource coordinates are not provided, not also when datasource coordinates aren't geovalid. This also fixes a bug where (NULL) county_centroids coordinates were used for non-geovalid coordinates even when there was no county_centroids match, rather than including the non-geovalid coordinates.

7372 01/25/2013 03:34 PM Aaron Marcuse-Kubitza

mappings/VegCore.csv: Regenerated from wiki

7371 01/25/2013 11:27 AM Aaron Marcuse-Kubitza

schemas/vegbien.sql: taxondetermination: Added is_datasource_current, which is autopopulated to the most recent datasource-provided taxondetermination

7370 01/25/2013 11:07 AM Aaron Marcuse-Kubitza

schemas/vegbien.sql: taxondetermination: Added taxondetermination_single_accepted_determination unique index to facilitate joining on the accepted determination

7369 01/25/2013 11:05 AM Aaron Marcuse-Kubitza

schemas/vegbien.sql: taxondetermination: Added taxondetermination_single_matched_determination unique index to facilitate joining on the matched determination

7368 01/25/2013 10:32 AM Aaron Marcuse-Kubitza

schemas/vegbien.sql: taxondetermination: Removed notespublic, notesmgt, which are not used by VegBIEN

7367 01/25/2013 09:30 AM Aaron Marcuse-Kubitza

schemas/vegbien.sql: taxon_trait_view: scientificName: Use taxonverbatim.taxonname when taxonlabel/taxonverbatim.taxonomicname are not provided, to accommodate TNRS names. This is part of the workaround for the bug where the taxonlabel's taxonomicname (concatenated taxonomicname) is occasionally not populated.

7366 01/25/2013 09:10 AM Aaron Marcuse-Kubitza

schemas/vegbien.sql: taxon_trait_view: Added workaround for bug where the taxonlabel's taxonomicname (concatenated taxonomicname) is occasionally not populated due to a taxonlabel constraint violation, by using the taxonverbatim's taxonomicname instead in these cases. This bug, which appeared in the r7317 import, is so far not reproducible (tested on Mac OS X), so its cause is unknown, but may be caused by a bug in functions._merge_prefix(), which is run on the taxonlabel's taxonomicname but not the taxonverbatim's taxonomicname.

7365 01/24/2013 09:51 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: analytical_stem_view: Added dateIdentified, identificationRemarks per Brad's request (https://projects.nceas.ucsb.edu/nceas/projects/bien/wiki/Spot-checking#E-mail-on-2013-1-16)

7364 01/24/2013 09:40 PM Aaron Marcuse-Kubitza

inputs/FIA/_src/Makefile: Added extraction targets to extract zip archives

7363 01/24/2013 09:07 PM Aaron Marcuse-Kubitza

inputs/FIA/_src/download: Use new Makefile, which uses make logic to determine if a file needs to be downloaded

7362 01/24/2013 09:05 PM Aaron Marcuse-Kubitza

Added inputs/FIA/_src/Makefile, with targets to download each zip archive

7361 01/24/2013 08:00 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: analytical_stem_view: derived terms: Added _bien suffix per Brad's request (https://projects.nceas.ucsb.edu/nceas/projects/bien/wiki/Spot-checking#Brad-Boyles-comments)

7360 01/24/2013 03:22 PM Aaron Marcuse-Kubitza

Added inputs/FIA/_src/FIADB_version4.accdb.url

7359 01/24/2013 03:18 PM Aaron Marcuse-Kubitza

inputs/FIA/_src/download: Only run wget on files that don't yet exist

7358 01/24/2013 03:16 PM Aaron Marcuse-Kubitza

inputs/FIA/_src/download: Run wget in same directory as script to ensure files get downloaded there

7357 01/24/2013 03:06 PM Aaron Marcuse-Kubitza

inputs/FIA/_src/download: Set svn:executable

7356 01/24/2013 03:04 PM Aaron Marcuse-Kubitza

Added inputs/FIA/_src/download to download archives of CSVs for each state

7355 01/24/2013 03:03 PM Aaron Marcuse-Kubitza

to_do/timeline.2013.xls: Updated with changes during conference call

7354 01/24/2013 09:46 AM Aaron Marcuse-Kubitza

schemas/vegbien.sql: taxon_trait_view: Renamed datasource_taxonverbatim to taxonverbatim because there is now only one taxonverbatim

7353 01/24/2013 09:31 AM Aaron Marcuse-Kubitza

schemas/vegbien.sql: taxon_trait_view: Moved the taxondetermination.iscurrent filter to the join condition to allow using the taxondetermination_single_current_determination index

7352 01/24/2013 09:24 AM Aaron Marcuse-Kubitza

schemas/vegbien.sql: taxon_trait_view: Join only on the primary taxonlabel, not the accepted taxonlabel, because the scrubbed name is now available directly via the taxonlabel attached to the scrubbed taxondetermination

7351 01/24/2013 09:11 AM Aaron Marcuse-Kubitza

schemas/vegbien.sql: analytical_stem_view: Added locality

7350 01/24/2013 08:18 AM Aaron Marcuse-Kubitza

inputs/UNCC/Specimen/map.csv: accession: Remapped to catalogNumber per Bob's corrections

7349 01/23/2013 10:31 PM Aaron Marcuse-Kubitza

schemas/vegbien.ERD.mwb: Regenerated exports

7348 01/23/2013 10:25 PM Aaron Marcuse-Kubitza

mappings/VegCore.csv: Regenerated from wiki

7347 01/23/2013 10:01 PM Aaron Marcuse-Kubitza

README.TXT: Schema changes: Added instructions to run the appropriate sync function when changing the analytical views

7346 01/23/2013 09:56 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: analytical_stem_view: Added georeferenceProtocol, which is set to 'county centroid' when county centroid coordinates are used

7345 01/23/2013 08:12 PM Aaron Marcuse-Kubitza

make_analytical_db: Don't run export_analytical_db if the SQL script exits with an error