Project

General

Profile

Statistics
| Revision:

# Date Author Comment
6390 11/24/2012 05:27 AM Aaron Marcuse-Kubitza

inputs/FIA/import_order.txt: Added Source, which needs to come before Organism

6389 11/24/2012 05:22 AM Aaron Marcuse-Kubitza

Added inputs/Madidi/Source/, containing referenceType metadata

6388 11/24/2012 05:19 AM Aaron Marcuse-Kubitza

Added inputs/FIA/Source/, containing referenceType metadata

6387 11/24/2012 05:14 AM Aaron Marcuse-Kubitza

Added inputs/CVS/Source/, containing referenceType metadata

6386 11/24/2012 05:07 AM Aaron Marcuse-Kubitza

Added inputs/CTFS/Source/, containing referenceType metadata

6385 11/24/2012 05:05 AM Aaron Marcuse-Kubitza

bin/map: Support map spreadsheets containing only metadata mappings (with no corresponding staging table), by falling back to an empty table when the named table does not exist

6384 11/24/2012 04:19 AM Aaron Marcuse-Kubitza

mappings/VegCore-VegBIEN.csv: institutionCode: Also map to the sourcename's matched source, which identifies whether the source is a herbarium

6383 11/24/2012 04:08 AM Aaron Marcuse-Kubitza

schemas/vegbien.sql: source: Made shortname NOT NULL to ensure that all datasources have a globally-unique short name

6382 11/24/2012 03:33 AM Aaron Marcuse-Kubitza

import_all: Added import of inputs/.herbaria/ before the main import

6381 11/24/2012 03:28 AM Aaron Marcuse-Kubitza

Added inputs/.herbaria/

6380 11/24/2012 03:25 AM Aaron Marcuse-Kubitza

input.Makefile: SVN: add: Also run %/add on all data subdirs

6379 11/24/2012 03:21 AM Aaron Marcuse-Kubitza

input.Makefile: Existing maps discovery: Moved tables discovery to its own section, above SVN so it can be used by SVN

6378 11/24/2012 03:11 AM Aaron Marcuse-Kubitza

mappings/VegCore.csv: referenceType: Fixed sort order

6377 11/24/2012 03:09 AM Aaron Marcuse-Kubitza

mappings/VegCore-VegBIEN.csv: Mapped referenceType

6376 11/24/2012 03:06 AM Aaron Marcuse-Kubitza

mappings/VegCore.csv: Added referenceType

6375 11/24/2012 02:10 AM Aaron Marcuse-Kubitza

mappings/VegCore-VegBIEN.csv: institutionCode: Remap to source.shortname when specimen information is not provided, as is the case for geoscrub.herbaria on nimoy

6374 11/24/2012 01:47 AM Aaron Marcuse-Kubitza

inputs/bien_web/observation/map.csv: Mapped observationID->occurrenceID

6373 11/24/2012 01:20 AM Aaron Marcuse-Kubitza

README.TXT: Datasource setup: Add input data for each table present in the datasource: Added step to run `make inputs/<datasrc>/<table>/install` if the table is in a .sql export

6372 11/24/2012 01:17 AM Aaron Marcuse-Kubitza

README.TXT: Datasource setup: MySQL inputs: Added step to install the export, which needs to happen before mapping individual tables

6371 11/24/2012 01:13 AM Aaron Marcuse-Kubitza

README.TXT: Datasource setup: Add input data for each table present in the datasource: Replaced "CSV" with "CSV" because there can be multiple CSV part files for one table

6370 11/24/2012 01:11 AM Aaron Marcuse-Kubitza

README.TXT: Datasource setup: Add input data for each table present in the datasource: Don't add a CSV or create.sql file for tables that are in a .sql export

6369 11/24/2012 01:06 AM Aaron Marcuse-Kubitza

README.TXT: Schema changes: Sync ERD with vegbien.sql schema: Changed instructions to just select tables with arrows next to them rather than all tables, because each table that's updated will have its lines reset and the number of lines that need to be fixed should be minimized

6368 11/24/2012 01:02 AM Aaron Marcuse-Kubitza

README.TXT: Datasource setup: Accept the test cases: `make inputs/<datasrc>/test by_col=1`: Clarified that errors could indicate bugs in the VegBIEN unique constraints

6367 11/24/2012 12:59 AM Aaron Marcuse-Kubitza

README.TXT: Data import: To remake analytical DB: Added explicit public schema setting since the analytical DB is often manually remade after the public schema has been renamed. Removed warnings that certain commands must be run after running make_analytical_db, because the "remake analytical DB" instructions no longer require this.

6366 11/24/2012 12:48 AM Aaron Marcuse-Kubitza

README.TXT: Datasource setup: MySQL inputs: Added steps to export the database to a PostgreSQL-compatible .sql file, which can be directly used by the install process without the need to export each table as CSV

6365 11/24/2012 12:36 AM Aaron Marcuse-Kubitza

README.TXT: Datasource setup: Choosing a table name: Documented that for .sql exports, you must use the name of the table in the DB export, not a suggested or custom name

6364 11/24/2012 12:34 AM Aaron Marcuse-Kubitza

input.Makefile: Staging tables installation: $(dbExports): Also include the files that would be generated by running _MySQL/*.make and creating the corresponding PostgreSQL translations

6363 11/24/2012 12:18 AM Aaron Marcuse-Kubitza

input.Makefile: Staging tables installation: Moved .sql export downloading and translation to separate Input data retrieval section

6362 11/23/2012 11:41 PM Aaron Marcuse-Kubitza

Added lib/MySQL.{data,schema}.sql.make templates to use in datasources' _MySQL/ dirs

6361 11/23/2012 10:38 PM Aaron Marcuse-Kubitza

inputs/import.stats.xls: Updated import times

6360 11/21/2012 11:13 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: analytical_stem_view: scientificNameWithMorphospecies: Changed to use Brad's formula, which concatenates genus and specific_epithet/morphospecies, and uses family if just the family is present, rather than using the full taxonomic name

6359 11/21/2012 11:05 PM Aaron Marcuse-Kubitza

mappings/VegCore-VegBIEN.csv: Concatenated taxonlabel: Don't prepend family if the taxonName/scientificName itself is the family, so that the family is not duplicated in the concatenated taxonomic name

6358 11/21/2012 10:19 PM Aaron Marcuse-Kubitza

schemas/functions.sql: _nullIf(): Removed NOT NULL constraint on null param, to support use a (nullable) column rather than a literal as the null-equivalent value

6357 11/21/2012 09:08 PM Aaron Marcuse-Kubitza

xml_func.py: Simplifying functions: Added _nullIf(), to remove calls with no null value

6356 11/21/2012 09:00 PM Aaron Marcuse-Kubitza

xml_dom.py: Added prune_parent()

6355 11/21/2012 08:51 PM Aaron Marcuse-Kubitza

schemas/functions.sql: Added _or()

6354 11/21/2012 08:20 PM Aaron Marcuse-Kubitza

schemas/functions.sql: Added _merge_words()

6353 11/21/2012 08:04 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: analytical_*: Renamed geosourceValid to geovalid. (It had gotten renamed in the reference -> source rename.)

6352 11/21/2012 08:00 PM Aaron Marcuse-Kubitza

mappings/VegCore.csv: Renamed georeferenceValid to geovalid

6351 11/21/2012 07:48 PM Aaron Marcuse-Kubitza

inputs/import.stats.xls: Updated import times. This now includes the Canadensys plants-related datasources HIBG, JBM, QFA, TRT, TRTE, UBC, VASCAN, and WIN.

6350 11/20/2012 09:59 PM Aaron Marcuse-Kubitza

inputs/import.stats.xls: Updated import times

6349 11/20/2012 09:42 PM Aaron Marcuse-Kubitza

Added inputs/HIBG/

6348 11/20/2012 09:33 PM Aaron Marcuse-Kubitza

Added inputs/JBM/

6347 11/20/2012 09:29 PM Aaron Marcuse-Kubitza

Added inputs/VASCAN/

6346 11/20/2012 09:22 PM Aaron Marcuse-Kubitza

Added inputs/WIN/

6345 11/20/2012 09:18 PM Aaron Marcuse-Kubitza

Added inputs/UBC/

6344 11/20/2012 09:14 PM Aaron Marcuse-Kubitza

Added inputs/TRTE/Specimen/

6343 11/20/2012 09:11 PM Aaron Marcuse-Kubitza

Added inputs/QFA/

6342 11/20/2012 09:06 PM Aaron Marcuse-Kubitza

Added inputs/TRT/

6341 11/20/2012 08:21 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: Allow bien_read to SELECT from all tables in the public schema

6340 11/20/2012 08:10 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: Allow bien_read to SELECT from analytical_aggregate, analytical_stem

6339 11/20/2012 08:09 PM Aaron Marcuse-Kubitza

lib/PostgreSQL-MySQL.csv: Removed GRANT/REVOKE because SCHEMA GRANTs are not supported in MySQL

6338 11/20/2012 07:57 PM Aaron Marcuse-Kubitza

pg_dump_vegbien: non-$owners mode: Removed --no-privileges in order to include GRANTs to other users

6337 11/20/2012 07:49 PM Aaron Marcuse-Kubitza

root Makefile: PostgreSQL: $(postgresReload-Linux): Making schemas/*.conf world-readable: Fixed bug where need to do this as the bien user, which owns the files

6336 11/20/2012 07:46 PM Aaron Marcuse-Kubitza

root Makefile: PostgreSQL: $(postgresReload-*): Make schemas/*.conf world-readable so it's readable by the postgres user, which the .conf installation is run as

6335 11/20/2012 07:43 PM Aaron Marcuse-Kubitza

root Makefile: PostgreSQL: $(postgresReload-*): Also install pg_hba.conf

6334 11/20/2012 07:36 PM Aaron Marcuse-Kubitza

root Makefile: PostgreSQL: Added postgres_reload to reload postgresql.conf and restart the DB

6333 11/20/2012 07:30 PM Aaron Marcuse-Kubitza

root Makefile: PostgreSQL: postgres-*: Factored postgresql.conf installation out in to $(postgresReload-*)

6332 11/20/2012 07:15 PM Aaron Marcuse-Kubitza

schemas/: Synced pg_hba.conf and pg_hba.Mac.conf's bien entries, which adds phpPgAdmin support (template1 access) on the Mac and bien_read access on Linux

6331 11/20/2012 06:56 PM Aaron Marcuse-Kubitza

root Makefile: VegBIEN DB: DB and users: Also create bien_read user for read-only access to the DB

6330 11/20/2012 06:53 PM Aaron Marcuse-Kubitza

schemas/pg_hba.Mac.conf: Allow access to the bien group rather than just the bien user, which will include bien_read

6329 11/20/2012 06:35 PM Aaron Marcuse-Kubitza

schemas/pg_hba.Mac.conf: Fixed bug where also need to allow password-based logins from the same machine, in order to work with pgAdmin

6328 11/20/2012 06:06 PM Aaron Marcuse-Kubitza

schemas/vegbien.ERD.poster.pdf: Updated to 33x51in poster size and 0.25in margins

6327 11/20/2012 05:35 PM Aaron Marcuse-Kubitza

README.TXT: Schema changes: Creating a poster of the ERD: Added section with the State St FedEx Kinkos' rates for posters ($10.25/sq ft laminated)

6326 11/20/2012 05:29 PM Aaron Marcuse-Kubitza

README.TXT: Schema changes: Creating a poster of the ERD: Changed "Measure the fractional height of the text onscreen" to "Determine the poster size"

6325 11/20/2012 05:19 PM Aaron Marcuse-Kubitza

Added schemas/vegbien.ERD.poster.pdf

6324 11/20/2012 04:10 PM Aaron Marcuse-Kubitza

Added schemas/vegbien.ERD.poster.core.print_options.png

6323 11/20/2012 04:01 PM Aaron Marcuse-Kubitza

Added schemas/vegbien.ERD.poster.core.pdf

6322 11/20/2012 03:29 PM Aaron Marcuse-Kubitza

schemas/pg_hba.Mac.conf: Fixed bug where needed ident entry for postgres superuser

6321 11/20/2012 03:18 PM Aaron Marcuse-Kubitza

Added config/bien_read_password

6320 11/20/2012 02:53 PM Aaron Marcuse-Kubitza

README.TXT: Schema changes: Added instructions to calculate the minimum VegBIEN poster size (to make the text as least as big as on the VegBank ERD poster), which is 35x54in portrait

6319 11/19/2012 08:01 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: analytical_stem_view: cultivated: Use location.iscultivated when taxonoccurrence.iscultivated is not available

6318 11/19/2012 07:55 PM Aaron Marcuse-Kubitza

Added inputs/FIA/FIA_COND_unique/, which contains the oldgrowth flag

6317 11/19/2012 07:53 PM Aaron Marcuse-Kubitza

mappings/VegCore-VegBIEN.csv: Mapped oldGrowth

6316 11/19/2012 07:48 PM Aaron Marcuse-Kubitza

schemas/functions.sql: Added _not()

6315 11/19/2012 07:43 PM Aaron Marcuse-Kubitza

mappings/VegCore.csv: Added oldGrowth

6314 11/19/2012 07:36 PM Aaron Marcuse-Kubitza

mappings/VegCore-VegBIEN.csv: Remapped cultivated to location when a TaxonOccurrence is not provided, indicating that the record is a plot

6313 11/19/2012 07:35 PM Aaron Marcuse-Kubitza

mappings/VegCore-VegBIEN.csv: Remapped cultivated to location when a TaxonOccurrence is not provided, indicating that the record is a plot

6312 11/19/2012 07:25 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: location: Added iscultivated for cases when entire plots rather than individual taxonoccurrences are marked as cultivated

6311 11/19/2012 07:17 PM Aaron Marcuse-Kubitza

inputs/FIA/: Added FIA_COND table from nimoy.geoscrub and code to generate a unique plot table from it, including the oldgrowth calculated field

6310 11/19/2012 06:46 PM Aaron Marcuse-Kubitza

Added inputs/FIA/Organism/postprocess.sql to cast PlotCD to a bigint

6309 11/19/2012 06:22 PM Aaron Marcuse-Kubitza

my2pg: Also remove (#) after bigint

6308 11/19/2012 06:05 PM Aaron Marcuse-Kubitza

Regenerated vegbien.ERD exports

6307 11/19/2012 06:03 PM Aaron Marcuse-Kubitza

schemas/vegbien.ERD.mwb: Fixed lines

6306 11/19/2012 05:54 PM Aaron Marcuse-Kubitza

schemas/vegbien.ERD.mwb: Fixed lines

6305 11/19/2012 05:54 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: source: Renamed fulltext to citation because according to the VegBank data dictionary <http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=reference&entity=dba_tabledescription&where=where_tablename#fulltext> this is actually the full text of the reference citation, not of the reference itself (it would be unusual to store that in VegBank)

6304 11/19/2012 05:48 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: Removed no longer needed sourcejournal, which can be stored in source and pointed to via parent_id instead of sourcejournal_id. sourcejournal.journal maps to source.fulltext, issn to isbn, and abbreviation to shortname.

6303 11/19/2012 05:48 PM Aaron Marcuse-Kubitza

mappings/VegCore-VegBIEN.csv: Mapped acceptedCounty, county to the matched place

6302 11/19/2012 05:41 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: source: Added matched_source_id

6301 11/19/2012 05:34 PM Aaron Marcuse-Kubitza

sql.py: parse_exception(): function MissingCastException: If 1st param is hstore, only perform the cast on the value param. This fixes a bug in _map() calls whose value is a non-text type, such as SALVIAS.plotMetadata.AccessCode.

6300 11/19/2012 05:32 PM Aaron Marcuse-Kubitza

sql_io.py: cast(): Use sql_gen.Cast() to generate the cast, in order to take advantage of its support for casts to unknown

6299 11/19/2012 05:30 PM Aaron Marcuse-Kubitza

sql_gen.py: Cast: Support casts to unknown by casting to text first

6298 11/19/2012 04:59 PM Aaron Marcuse-Kubitza

schemas/postgresql.conf: Turn on the error log

6297 11/19/2012 04:58 PM Aaron Marcuse-Kubitza

schemas/pg_hba.conf: Also grant the bien user access to template1, which is accessed by phpPgAdmin

6296 11/19/2012 04:24 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: source: Added parent_id for nested sources, e.g. an article in a journal

6295 11/19/2012 04:23 PM Aaron Marcuse-Kubitza

lib/forwarding.Makefile: $(subdirs): Also exclude .archive/

6294 11/19/2012 04:09 PM Aaron Marcuse-Kubitza

mappings/VegCore-VegBIEN.csv: Mapped acceptedCounty, county to the matched place

6293 11/19/2012 04:08 PM Aaron Marcuse-Kubitza

schemas/vegbien.ERD.mwb: Fixed lines

6292 11/19/2012 03:54 PM Aaron Marcuse-Kubitza

Renamed inputs/_archive/ to .archive/ so it wouldn't be treated as a datasource

6291 11/19/2012 03:49 PM Aaron Marcuse-Kubitza

README.TXT: Documentation: Redmine-formatted list of steps for column-based import: Use ACAD instead of QMOR, which was removed