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
CTFS,VegCore,Filter,Comments

2
CountryID,*CountryID,,

3
PlotID,locationID,,

4
PlotName,locationName,,

5
LocationName,locality,,

6
Latitude,decimalLatitude,,

7
Longitude,decimalLongitude,,

1
CTFS,VegCore,Filter,Comments
2
CountryID,*CountryID,,
3
PlotID,locationID,,
4
PlotName,locationName,,
5
LocationName,locality,,
6
Latitude,decimalLatitude,,
7
Longitude,decimalLongitude,,
8 8
Elevation,elevationInMeters,,"Assuming units are m based on the range of values [1] and the country the data is from (Panama). Not documented in <https://projects.nceas.ucsb.edu/nceas/projects/bien/repository/raw/inputs/CTFS/_src/ctfs-comments_worksheet.xls>.
9 9

  
10 10
[1] Using the following query:
......
13 13
FROM ""CTFS"".""Plot""
14 14
GROUP BY ""Elevation""::real , ""LocationName""
15 15
ORDER BY ""Elevation""::real DESC
16
-----"
17
ReferenceX,*ReferenceX,,Rarely used
18
ReferenceY,*ReferenceY,,Rarely used
19
SizeOfSite,plotArea_ha,,"""Size in hectares"" (SizeOfSite comments in <https://projects.nceas.ucsb.edu/nceas/projects/bien/repository/raw/inputs/CTFS/_src/ctfs-comments_worksheet.xls>)"
20
ShapeOfSite,footprintWKT,,
21
DescriptionOfSite,locality,,
22
CountryName,country,,
16
-----"
17
ReferenceX,*ReferenceX,,Rarely used
18
ReferenceY,*ReferenceY,,Rarely used
19
SizeOfSite,plotArea_ha,,"""Size in hectares"" (SizeOfSite comments in <https://projects.nceas.ucsb.edu/nceas/projects/bien/repository/raw/inputs/CTFS/_src/ctfs-comments_worksheet.xls>)"
20
ShapeOfSite,footprintWKT,,
21
DescriptionOfSite,locality,,
22
CountryName,country,,

Also available in: Unified diff