Project

General

Profile

« Previous | Next » 

Revision 10339

inputs/REMIB/Specimen/: translated single-column filters to postprocessing derived columns, using the steps at wiki.vegpath.org/Switching_to_new-style_import#stage-I-source-specific > "translate single-column filters to postprocessing derived columns". null-mapping filters now use wrappers around new util.map_nulls(). note that the verbatim columns input to the filters need to be renamed to avoid name collisions with their filtered columns, which must be VegCore terms for new-style import.

View differences:

new_terms.csv
1 1
acronym,specimenHolderInstitutions,,
2
long_deg,longitude_deg,"/_map:[./{""-999"",99,999,1000}=,*=*]/value",-99 is a valid longitude for Mexico
3
long_min,longitude_min,"/_map:[./{""-999"",""-99"",99,999,1000}=,*=*]/value",
4
long_sec,longitude_sec,"/_map:[./{""-999"",""-99"",99,999,1000}=,*=*]/value",
5
lat_deg,latitude_deg,"/_map:[./{""-999"",""-99"",99,999,1000}=,*=*]/value",
6
lat_min,latitude_min,"/_map:[./{""-999"",""-99"",99,999,1000}=,*=*]/value",
7
lat_sec,latitude_sec,"/_map:[./{""-999"",""-99"",99,999,1000}=,*=*]/value",
2
long_deg,longitude_deg_verbatim,,
3
long_min,longitude_min_verbatim,,
4
long_sec,longitude_sec_verbatim,,
5
lat_deg,latitude_deg_verbatim,,
6
lat_min,latitude_min_verbatim,,
7
lat_sec,latitude_sec_verbatim,,
8 8
coll_day,dayCollected,,
9 9
coll_month,monthCollected,,
10 10
coll_year,yearCollected,,

Also available in: Unified diff