terraref / reference-data

Coordination of Data Products and Standards for TERRA reference data
https://terraref.org
BSD 3-Clause "New" or "Revised" License
9 stars 2 forks source link

upload emergence count for seasons 4 and 6 #282

Closed rleontie closed 4 years ago

rleontie commented 4 years ago

@dlebauer please assist in adding the results for season 4 and 6 emergence count on Betty DB. Data can be found here

dlebauer commented 4 years ago
# fix trait name 
for f in *.csv; do sed 's/counting/count/g' $f > new$f; done;

# upload
for f in new*.csv; do curl -H "Content-Type: text/csv" -X POST --data-binary @$f https://terraref.ncsa.illinois.edu/bety/api/v1/traits.csv?key=SECRET; done;

@ZongyangLi please update the citation and method:

dlebauer commented 4 years ago

@rleontie should I also delete existing data from this?

rleontie commented 4 years ago

@dlebauer I don't know. @ZongyangLi do we need to keep the existing data for this?

ZongyangLi commented 4 years ago

@dlebauer I am not clear about the requirement of updating citation and method you mentioned above. For citation, we have citation_author, citation_year, citation_title already.

it is necessary to have either a citation_doi column, or have all three of the columns citation_author, citation_year, and citation_title.

For method, the current description is Stereo RGB data to emergence counting, would you like a much longer description to describe the whole thread?

About the existing data, do you mean the data we just uploaded yesterday?

dlebauer commented 4 years ago

@ZongyangLi

ZongyangLi commented 4 years ago

@dlebauer

My code uploaded to : https://github.com/terraref/extractors-stereo-rgb/tree/stereo-emergence-detection/emergence_detection

I will write a more technical description later and let you know.

There was not any emergence data previously. This is the first time we create these csvs.

dlebauer commented 4 years ago

@ZongyangLi can this be merged? https://github.com/terraref/extractors-stereo-rgb/pull/55 I replaced "counting" with "count" so that it would generate the correct variable and methods name (above I had to find/replace to get the files to upload)

dlebauer commented 4 years ago

data have been uploaded.