Project

General

Profile

« Previous | Next » 

Revision 8176

inputs/input.Makefile: %/.map.csv.last_cleanup: Run fix_line_endings after canon/translate to standardize Python's \r\n line endings back to \n. This prevents issues with mixed line endings because LibreOffice (and probably Excel) treat all cell-internal line endings as \n but row line endings as whatever the file had, while text editors like jEdit translate all line endings to whatever the autodetected line ending is. (This creates spurious line ending diffs when a map spreadsheet containing multiline cells is edited in a text editor.)

View differences:

map.csv
1
SALVIAS,VegCore,Filter,Comments
2
stem_id,stemID,,
3
origrecord_id_stems,*origrecord_id_stems,,
4
plotobs_id,individualID,,
5
NoInd,stemCount,,
6
basal_diam,basalDiameter_cm,,Assuming units are the same as for stem_dbh because the values are similar and they measure the same dimension
7
stem_dbh,diameterBreastHeight_cm,,"Assuming units based on the units for plotObservations.intercept_cm, which measures the same dimension"
8
gentry_dbh,diameterBreastHeightGentry_cm,,Assuming units are the same as for stem_dbh because the values are similar and they measure the same dimension
9
stem_notes,stemNotes,,
10
stem_tag1,tag,/_alt/2,"The second tag supercedes the first. Brad: Another type of code, typically a number, used by the original data provider to indicate an individual tree. These are numbers on physical tags attached to the tree. Tag2 Is the same thing, only used if the first tag was lost. Obviously not a good system as it's possible a tree tag could be lost and changed more than once."
11
stem_tag2,tag,/_alt/1,"The second tag supercedes the first. Brad: See commend for tag1. Your mapping for tag2 looks correct. Probably both values would go here, only nested, with one superceding the other."
12
stem_height_m,height_m,,"""Total height of this stem only, in meters"" (stem_height_m definition at < http://salvias.net/Documents/salvias_data_dictionary.html#Plot+data>). Brad: Same as for height, but applies to individuals stems, not trees. Rare."
13
stem_height_first_branch_m,heightFirstBranch_m,,"Brad: Same as for ht_first_branch_m, but applies to individuals stems, not trees. Rare."
14
stem_canopy_form,canopyForm,,
15
stem_canopy_position,canopyPosition,,
16
stem_liana_infestation,lianaInfestation,,
17
tmp_del,*tmp_del,,
1
SALVIAS,VegCore,Filter,Comments
2
stem_id,stemID,,
3
origrecord_id_stems,*origrecord_id_stems,,
4
plotobs_id,individualID,,
5
NoInd,stemCount,,
6
basal_diam,basalDiameter_cm,,Assuming units are the same as for stem_dbh because the values are similar and they measure the same dimension
7
stem_dbh,diameterBreastHeight_cm,,"Assuming units based on the units for plotObservations.intercept_cm, which measures the same dimension"
8
gentry_dbh,diameterBreastHeightGentry_cm,,Assuming units are the same as for stem_dbh because the values are similar and they measure the same dimension
9
stem_notes,stemNotes,,
10
stem_tag1,tag,/_alt/2,"The second tag supercedes the first. Brad: Another type of code, typically a number, used by the original data provider to indicate an individual tree. These are numbers on physical tags attached to the tree. Tag2 Is the same thing, only used if the first tag was lost. Obviously not a good system as it's possible a tree tag could be lost and changed more than once."
11
stem_tag2,tag,/_alt/1,"The second tag supercedes the first. Brad: See commend for tag1. Your mapping for tag2 looks correct. Probably both values would go here, only nested, with one superceding the other."
12
stem_height_m,height_m,,"""Total height of this stem only, in meters"" (stem_height_m definition at < http://salvias.net/Documents/salvias_data_dictionary.html#Plot+data>). Brad: Same as for height, but applies to individuals stems, not trees. Rare."
13
stem_height_first_branch_m,heightFirstBranch_m,,"Brad: Same as for ht_first_branch_m, but applies to individuals stems, not trees. Rare."
14
stem_canopy_form,canopyForm,,
15
stem_canopy_position,canopyPosition,,
16
stem_liana_infestation,lianaInfestation,,
17
tmp_del,*tmp_del,,

Also available in: Unified diff