Project

General

Profile

Statistics
| Revision:

# Date Author Comment
11248 10/10/2013 05:46 PM Aaron Marcuse-Kubitza

inputs/VegBank/taxon_observation.**.sample/create.sql: reordered columns in the same order as analytical_plot, for easier validation

11247 10/10/2013 05:46 PM Aaron Marcuse-Kubitza

bugfix: lib/runscripts/table.run: load_data(): in remaking mode, need to remake header.csv in case the columns have changed

11246 10/10/2013 03:07 PM Aaron Marcuse-Kubitza

web/links/index.htm: updated to Firefox bookmarks. updated favicons.

11245 10/10/2013 02:57 PM Aaron Marcuse-Kubitza

web/links/index.htm: updated to Firefox bookmarks. sudo: added instructions to turn off incorrect password e-mails.

11244 10/10/2013 02:40 PM Aaron Marcuse-Kubitza

inputs/VegBank/taxon_observation.**.sample/create.sql: include only the subset of columns that is imported to VegBIEN

11243 10/10/2013 02:32 PM Aaron Marcuse-Kubitza

inputs/VegBank/taxon_observation.**.sample/test.xml.ref: updated inserted row count (which was most likely generated before the output column names had been set to the input column names)

11242 10/10/2013 01:55 PM Aaron Marcuse-Kubitza

added inputs/VegBank/verify/input_cols.include.txt, with runscript to generate it

11241 10/10/2013 01:26 PM Aaron Marcuse-Kubitza

inputs/VegBank/verify/input_cols.unmapped.txt*: renamed to input_cols.exclude.txt* because this now includes mapped columns as well

11240 10/10/2013 01:18 PM Aaron Marcuse-Kubitza

inputs/VegBank/verify/input_cols.unmapped.txt*: renamed to input_cols.exclude.txt* because this now includes mapped columns as well

11239 10/10/2013 01:11 PM Aaron Marcuse-Kubitza

inputs/VegBank/verify/input_cols.unmapped.txt.run: remove unmapped join columns, since these would be included in the extract

11238 10/10/2013 01:09 PM Aaron Marcuse-Kubitza

inputs/VegBank/verify/input_cols.unmapped.txt.run: take input directly from input_cols.txt to avoid needing to first copy and paste it into input_cols.unmapped.txt

11237 10/10/2013 01:03 PM Aaron Marcuse-Kubitza

inputs/VegBank/verify/input_cols.unmapped.txt.run: added back deliberately excluded columns (DUPLICATE#of:..., etc.) so that the # of rows in the file can be subtracted from the total # of columns to get the # of input columns that would be included in the extract

11236 10/10/2013 12:43 PM Aaron Marcuse-Kubitza

bugfix: inputs/input.Makefile: %/VegBIEN.csv: `ln -s` to create VegBIEN.csv: enclose the filenames in "" since they may contain * (e.g. taxon_observation.**)

11235 10/10/2013 12:23 PM Aaron Marcuse-Kubitza

added inputs/VegBank/verify/input_cols.txt, input_cols.unmapped.txt (with runscript to filter input_cols.unmapped.txt)

11234 10/10/2013 11:53 AM Aaron Marcuse-Kubitza

schemas/VegBIEN/attribution/BIEN 3 data use and attribution.docx: made Ramona's corrections with track changes turned on. note that you have to use MS Word for this, not LibreOffice, because LibreOffice can't save the table of contents properly in .docx or .doc format (although it can save it in .odt format).

11233 10/10/2013 08:18 AM Aaron Marcuse-Kubitza

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

11232 10/10/2013 08:05 AM Aaron Marcuse-Kubitza

inputs/VegBank/taxonobservation_/postprocess.sql: added __parent index on locationID to facilitate the LEFT JOINs used to create the validation input

11231 10/10/2013 07:54 AM Aaron Marcuse-Kubitza

inputs/VegBank/observation_/postprocess.sql: added __parent index on locationID to facilitate the LEFT JOINs used to create the validation input

11230 10/10/2013 07:45 AM Aaron Marcuse-Kubitza

inputs/VegBank/import_order.txt: added taxon_observation.**.sample so it will automatically be kept up to date

11229 10/10/2013 07:32 AM Aaron Marcuse-Kubitza

inputs/VegBank/taxon_observation.**.sample/create.sql: set runtime (1 s)

11228 10/10/2013 07:30 AM Aaron Marcuse-Kubitza

inputs/VegBank/: added taxon_observation.**.sample subset of plots to use in the validation. this avoids the need to import all of VegBank just to validate a few of the plots.

11227 10/09/2013 10:12 PM Aaron Marcuse-Kubitza

bin/map: usage: documented that verbosity > 3 in commit mode turns on debug_temp mode, which creates real tables instead of temp tables

11226 10/09/2013 09:41 PM Aaron Marcuse-Kubitza

schemas/VegCore/ERD/VegCore.ERD.mwb: georeferencing: documented that this stores location determinations (= VegBIEN.vegpath.org?public.locationplace)

11225 10/09/2013 06:31 PM Aaron Marcuse-Kubitza

inputs/VegBank/taxon_observation.**/: updated for data refresh

11224 10/09/2013 06:25 PM Aaron Marcuse-Kubitza

inputs/VegBank/plantconcept_/: mapped columns, since this is now included in import_order.txt and therefore gets processed by the column-renaming runscripts. note that this means that in taxonobservation_/map.csv, the plantconcept_ input column names need to be changed to what they are mapped to.

11223 10/09/2013 06:16 PM Aaron Marcuse-Kubitza

inputs/VegBank/taxonobservation_/create.sql: updated runtime (20 s)

11222 10/09/2013 05:54 PM Aaron Marcuse-Kubitza

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

11221 10/09/2013 05:51 PM Aaron Marcuse-Kubitza

fix: schemas/VegCore/ERD/VegCore.ERD.mwb: project: allow it to have a dataset rather than being one, because projects do not always have separate attribution requirements (e.g. in Madidi they don't). this also fixes a bug where projects whose datasets had a parent dataset (e.g. VegBank) would need a dummy event for that parent dataset so that the fkeys on both dataset.parent->dataset and event.parent->event would be satisfied. added project__unique constraint on name within dataset.

11220 10/09/2013 05:38 PM Aaron Marcuse-Kubitza

schemas/VegCore/ERD/VegCore.ERD.mwb: taxa_sampling_event.parent (inherited): require this to be a taxa_sampling_event. documented that this is the taxa_sampling_event for the parent stratum.

11219 10/09/2013 05:15 PM Aaron Marcuse-Kubitza

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

11218 10/09/2013 05:03 PM Aaron Marcuse-Kubitza

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

11217 10/09/2013 05:00 PM Aaron Marcuse-Kubitza

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

11216 10/09/2013 04:55 PM Aaron Marcuse-Kubitza

schemas/VegCore/ERD/VegCore.ERD.mwb: place_visit.parent (inherited): added fkey constraint that this must be a place_visit. documented that this is the concurrent observation of the parent place.

11215 10/09/2013 04:47 PM Aaron Marcuse-Kubitza

schemas/VegCore/ERD/VegCore.ERD.mwb: project: inherit from dataset, since projects generally confer attribution and conditions of use

11214 10/09/2013 04:26 PM Aaron Marcuse-Kubitza

fix: schemas/VegCore/ERD/VegCore.ERD.mwb: place_visit: fixed synonyms list to "VegX.vegpath.org?plotObservation, VegBank.vegpath.org?observation (which was confusingly named) + some of VegBank.vegpath.org?plot (which is actually 1:1 with observation)"

11213 10/09/2013 04:22 PM Aaron Marcuse-Kubitza

schemas/VegCore/ERD/VegCore.ERD.mwb: place_observation: renamed to place_visit for clarity, since other tables that point to this use it as a general container, not just a link to the observations about the place

11212 10/09/2013 04:16 PM Aaron Marcuse-Kubitza

schemas/VegCore/ERD/VegCore.ERD.mwb: merged stratum_event into taxa_sampling_event since they serve the same purpose (separating taxa samplings within the same place_observation by subsetting methodology). merged layer into stratum since strata as we think of them are horizontal, although there are other definitions of stratum (e.g. size class) which are more similar to our method table.

11211 10/09/2013 03:51 PM Aaron Marcuse-Kubitza

schemas/VegCore/ERD/VegCore.ERD.mwb: event subclasses: subject: added applicable fkey constraints to the inherited field. renamed existing table-specific subject fields to subject to merge with the inherited field.

11210 10/09/2013 03:38 PM Aaron Marcuse-Kubitza

schemas/VegCore/ERD/VegCore.ERD.mwb: event: added unique constraints for every way that the scoping fields can meaningfully be combined. these correspond to the various unique constraints offered by VegBIEN.locationevent. (the event table's constraints are always tricky because there are many ways to define an event. it is important to include all of them so that there is almost always a way to generate a natural key, without resorting to an artificial key from traceable.id_by_source.)

11209 10/09/2013 03:28 PM Aaron Marcuse-Kubitza

schemas/VegCore/ERD/VegCore.ERD.mwb: event.place: renamed to subject and allow this to be any traceable, not just a place. this allows taxon_observations to be scoped within their taxon_occurrences just as subplot events are scoped within parent plot events.

11208 10/09/2013 02:46 PM Aaron Marcuse-Kubitza

schemas/VegCore/ERD/VegCore.ERD.mwb: traceable.authors: documented that this makes traceable mutually recursive with party_list

11207 10/09/2013 02:45 PM Aaron Marcuse-Kubitza

schemas/VegCore/ERD/VegCore.ERD.mwb: traceable.authors: documented that this makes traceable mutually recursive with party_list

11206 10/09/2013 02:42 PM Aaron Marcuse-Kubitza

schemas/VegCore/ERD/VegCore.ERD.mwb: fixed inheritance connectors

11205 10/09/2013 02:38 PM Aaron Marcuse-Kubitza

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

11204 10/09/2013 02:35 PM Aaron Marcuse-Kubitza

schemas/VegCore/ERD/VegCore.ERD.mwb: record.authors: moved to traceable because actually, different sections of a denormalized source record may have separate authors (e.g. participants for taxa_sampling_event, identifiers for taxon_determination)

11203 10/09/2013 02:24 PM Aaron Marcuse-Kubitza

schemas/VegCore/ERD/VegCore.ERD.mwb: record.dataset: split this into the scoping_dataset (which scopes the id_within_dataset) and the attribution_dataset (which provides attribution information)

11202 10/09/2013 01:55 PM Aaron Marcuse-Kubitza

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

11201 10/09/2013 01:45 PM Aaron Marcuse-Kubitza

schemas/VegCore/ERD/VegCore.ERD.mwb: record.authors: changed this to refer only to original data creators such as collectors and identifiers. this way, there is no need to generate a combined party_list of owners+authors for every record, because the record-specific authors list can just point to the same party_list as the collectors or event participants. this is also closer to Brad's meaning, which is specifically "a person or institution responsible for creating the dataset" [+emph].

11200 10/09/2013 01:31 PM Aaron Marcuse-Kubitza

schemas/VegCore/ERD/VegCore.ERD.mwb: party_list: added array field, which stores an array combining all the list entries. if specified, a trigger will autogenerate party_list_entries from this field. if not specified, it will be autopopulated whenever a party_list_entry is added.

11199 10/09/2013 12:59 PM Aaron Marcuse-Kubitza

schemas/VegCore/ERD/VegCore.ERD.mwb: added data_owner subclass of party_list_entry, which stores use_conditions for each data_owner of a dataset. dataset: added access_rights (public, private, etc.), use_conditions (citation requirements, etc.).

11198 10/09/2013 12:25 PM Aaron Marcuse-Kubitza

schemas/VegCore/ERD/VegCore.ERD.mwb.run: record.authors: clarified that this should include all parties who helped create the data record, making it a superset of dataset.data_owners, who receive attribution. clarified that record-specific authors such as collectors and identifiers generally do not receive attribution, although dataset-level authors do (this field includes both).

11197 10/09/2013 12:07 PM Aaron Marcuse-Kubitza

schemas/VegCore/ERD/VegCore.ERD.mwb.run: record.id_within_dataset: removed instruction to also put this in source.name, because source.name is now optional, and this would not make sense because source does not have a parent pointer

11196 10/09/2013 12:03 PM Aaron Marcuse-Kubitza

schemas/VegCore/ERD/VegCore.ERD.mwb.run: documented that schema COMMENTs cannot contain ' (used in contractions such as "don't"), because MySQL Workbench cannot escape these properly

11195 10/09/2013 12:02 PM Aaron Marcuse-Kubitza

schemas/VegCore/ERD/VegCore.ERD.mwb: record: added authors, which stores the people who helped create the data record. this is Brad's data author term (Brad.vegpath.org?attribution.data_author), but actually belongs to the individual data record rather than to an entire data*set* because records may have different authors (collectors, identifiers, etc.). note that schema COMMENTs apparently cannot contain ' (used in contractions such as "don't"), because MySQL Workbench cannot escape these properly.

11194 10/09/2013 11:38 AM Aaron Marcuse-Kubitza

schemas/VegCore/ERD/VegCore.ERD.mwb: dataset.data_owners: documented that this includes all aggregators through which the data has passed, so that this is equivalent to Brad's data indexers (Brad.vegpath.org?attribution.data_indexer)

11193 10/09/2013 11:31 AM Aaron Marcuse-Kubitza

fix: schemas/VegCore/ERD/VegCore.ERD.mwb: dataset.parent: fixed example to indicate that the GBIF.ARIZ dataset is contained within a specific GBIF dataset (the parent), but was obtained from the GBIF organization (the dataset_source). ARIZ is then the first_publisher, not the dataset_source.

11192 10/09/2013 11:22 AM Aaron Marcuse-Kubitza

schemas/VegCore/ERD/VegCore.ERD.mwb: dataset: renamed data_source to dataset_source for clarity

11191 10/09/2013 11:14 AM Aaron Marcuse-Kubitza

schemas/VegCore/ERD/VegCore.ERD.mwb: dataset.contacts: documented that this is the contact person(s) to ask about attribution questions. there should always be at least one contact person. if unknown, the person loading the data should set this to themselves.

11190 10/09/2013 11:12 AM Aaron Marcuse-Kubitza

added schemas/VegCore/Brad_Boyle/BIEN 3 data use and attribution.docx symlink to schemas/VegBIEN/attribution/BIEN 3 data use and attribution.docx, so that all of Brad's attribution-related terms are in one place

11189 10/09/2013 11:07 AM Aaron Marcuse-Kubitza

schemas/VegCore/ERD/VegCore.ERD.mwb: dataset.contacts: make this required, so that anyone adding data to a VegCore DB always provides at least one contact person, possibly themselves, to ask about attribution questions (as suggested by Brad in BIEN 3 data use and attribution.docx)

11188 10/09/2013 11:00 AM Aaron Marcuse-Kubitza

schemas/VegCore/ERD/VegCore.ERD.mwb: dataset.first_publisher: allow this to be any kind of source, rather than just a party (i.e. an organization). this is possible now that party inherits from source.

11187 10/09/2013 10:52 AM Aaron Marcuse-Kubitza

schemas/VegCore/ERD/VegCore.ERD.mwb: dataset: linked to Brad's synonyms for dataset_source (Brad.vegpath.org?attribution.proximate_data_provider), first_publisher (Brad.vegpath.org?attribution.data_publisher, Brad.vegpath.org?data_provenance.primarydataprovider)

11186 10/09/2013 10:43 AM Aaron Marcuse-Kubitza

bugfix: web/people/Brad_Boyle/.htaccess: only forward requests for a term defined by Brad to the attribution/ subdir, so that Brad.vegpath.org shows a directory listing instead of forwarding right to the attribution doc

11185 10/09/2013 10:33 AM Aaron Marcuse-Kubitza

bugfix: web/people/Brad_Boyle/.htaccess: set %{ENV:innermost_dir} to Brad_Boyle

11184 10/09/2013 10:28 AM Aaron Marcuse-Kubitza

added web/people/Brad_Boyle/data_provenance/ (BIEN database entities related to data provenance and ownership.docx)

11183 10/09/2013 09:56 AM Aaron Marcuse-Kubitza

bugfix: web/people/Brad_Boyle/attribution/.htaccess: \-escape the %s so that they aren't treated as backreferences. set the [redirect] flag so that the downloaded file has the correct filename (BIEN 3 data use and attribution.docx instead of attribution).

11182 10/09/2013 09:49 AM Aaron Marcuse-Kubitza

bugfix: web/people/Brad_Boyle/attribution/.htaccess: use %20 instead of + because the Apache server apparently doesn't translate + to space correctly

11181 10/09/2013 09:47 AM Aaron Marcuse-Kubitza

bugfix: web/people/Brad_Boyle/attribution/.htaccess: link to the VegBIEN subdir in /exchange_schemas instead of the main /VegBIEN because there are actually two VegBIEN subdirs, and the main one instead points to /datasources/VegBIEN

11180 10/09/2013 09:45 AM Aaron Marcuse-Kubitza

added web/people/Brad_Boyle/ with attribution/ subdir for BIEN 3 data use and attribution.docx

11179 10/09/2013 09:15 AM Aaron Marcuse-Kubitza

schemas/VegCore/ERD/VegCore.ERD.mwb: dataset: renamed data_source to dataset_source for clarity

11178 10/09/2013 08:54 AM Aaron Marcuse-Kubitza

inputs/VegBank/plantconcept_/create.sql: documented runtime (21 min)

11177 10/09/2013 08:28 AM Aaron Marcuse-Kubitza

bugfix: inputs/VegBank/plantconcept_/: added new-style import files

11176 10/09/2013 08:27 AM Aaron Marcuse-Kubitza

bugfix: inputs/VegBank/import_order.txt: added plantconcept_, because new-style import needs it to be explicitly listed in import_order.txt in order to run it

11175 10/09/2013 08:24 AM Aaron Marcuse-Kubitza

inputs/VegBank/run: refresh(): added usage

11174 10/09/2013 08:22 AM Aaron Marcuse-Kubitza

inputs/VegBank/run: refresh(): documented that this should be run on vegbiendev

11173 10/09/2013 07:58 AM Aaron Marcuse-Kubitza

inputs/VegBank/_archive/2012-8-30/: svn:ignore the data exports

11172 10/09/2013 07:57 AM Aaron Marcuse-Kubitza

inputs/VegBank/run: added refresh() target

11171 10/09/2013 07:54 AM Aaron Marcuse-Kubitza

inputs/VegBank/: refreshed VegBank so that all of Mike Lee's sample plots would be included in the input data. (VegBank was last refreshed from the live DB on 2012-8-30.) split vegbank.sql into vegbank.schema.sql and vegbank.data.sql so that the schema can be examined and imported separately, like for MySQL datasources. inputs/VegBank/vegbank.~.clean_up.sql: commented out setting comminterpretation.commname to NOT NULL, because after the refresh it is now NULL in 10 rows, where commconcept_id is also NULL.

11170 10/08/2013 05:31 PM Aaron Marcuse-Kubitza

lib/runscripts/datasrc_dir.run: import(): added remake (rm=1) mode that reinstalls the datasource before continuing with the subdirs' import actions

11169 10/08/2013 05:29 PM Aaron Marcuse-Kubitza

lib/runscripts/in_datasrc_dir.run: added datasrc_make(), which runs make in the datasrc dir

11168 10/08/2013 12:36 PM Aaron Marcuse-Kubitza

inputs/.geoscrub/_src/README.TXT: added e-mail from John Donoghue with general description of the BIEN2 geovalidation workflow

11167 10/03/2013 04:04 PM Aaron Marcuse-Kubitza

bugfix: schemas/vegbien.sql: plot.**: removed ORDER BY because a SELECT on the view with its own ORDER BY will actually sort the rows twice instead of optimizing away plot.**'s default ORDER BY

11166 10/03/2013 03:44 PM Aaron Marcuse-Kubitza

schemas/vegbien.sql: added plot.** subset view of analytical_stem_view, used for VegBank validation

11165 10/03/2013 01:41 PM Aaron Marcuse-Kubitza

planning/timeline/timeline.2013.xls: moved reload core & analytical database out a week because it shouldn't be done until after CVS validation is complete

11164 10/03/2013 12:25 PM Aaron Marcuse-Kubitza

inputs/.geoscrub/_src/README.TXT: added link to geovalidation description in wiki

11163 10/03/2013 11:03 AM Aaron Marcuse-Kubitza

added schemas/VegBIEN/attribution/BIEN 3 data use and attribution.docx from Brad

11162 10/03/2013 10:03 AM Aaron Marcuse-Kubitza

planning/timeline/timeline.2013.xls: updated to reflect that the next week should be spent doing data validations, as decided in the conference call

11161 10/02/2013 05:59 AM Aaron Marcuse-Kubitza

bugfix: schemas/vegbien.sql: locationevent__communities(): need to use commdescription instead of commname as the communityName because that's where communityName has been mapped to in mappings/VegCore-VegBIEN.csv. (commname instead stores the communityID.)

11160 10/02/2013 05:56 AM Aaron Marcuse-Kubitza

inputs/VegBank/: added observation__community/

11159 10/02/2013 05:49 AM Aaron Marcuse-Kubitza

inputs/VegBank/vegbank.~.clean_up.sql: commclass.commcode,commname: rename to prevent collisions

11158 10/02/2013 04:26 AM Aaron Marcuse-Kubitza

inputs/VegBank/vegbank.~.clean_up.sql: indicate required column comminterpretation.commname

11157 10/02/2013 04:20 AM Aaron Marcuse-Kubitza

inputs/VegBank/vegbank.~.clean_up.sql: commconcept.commname: rename to prevent collision with commname.commname

11156 10/02/2013 04:15 AM Aaron Marcuse-Kubitza

planning/timeline/: svn:ignore: added .~* (lock files for .xls)

11155 10/02/2013 03:58 AM Aaron Marcuse-Kubitza

schemas/vegbien.sql: analytical_stem_view: added instructions for what to do after updating this

11154 10/02/2013 03:55 AM Aaron Marcuse-Kubitza

schemas/vegbien.sql: analytical_stem_view, analytical_plot: added communities using new locationevent__communities__array()

11153 10/02/2013 03:52 AM Aaron Marcuse-Kubitza

schemas/vegbien.sql: added locationevent__communities*()

11152 10/02/2013 03:10 AM Aaron Marcuse-Kubitza

bugfix: schemas/vegbien.sql: locationevent: locationevent__pull_forward_from_parent() trigger: only pull forward the location_id when there is a stratum_id, so that empty locationevents that should be auto-forwarded are not unintentionally made valid by populating the location_id field (which causes a check constraint to become satisfied, and prevents auto-forwarding from working). this fixes a bug in some datasources' automated tests, such as `make inputs/SALVIAS/plotObservations/test`.

11151 10/02/2013 02:45 AM Aaron Marcuse-Kubitza

lib/sql_io.py: put_table(): default param: documented that this will be used for all missing rows, regardless of which error caused them not to be inserted. this means that auto-forwarding (wiki.vegpath.org/Auto-forwarding) can be used with any type of constraint violation, not just NOT NULL constraints (which it is typically used with).

11150 10/01/2013 10:57 PM Aaron Marcuse-Kubitza

/Makefile: mk_db: config/users.sql: unset ON_ERROR_STOP so user-exists errors don't prevent further user-adds

11149 09/30/2013 07:47 AM Aaron Marcuse-Kubitza

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