Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

def.calc.sdg input names #15

Open
jbeaulie opened this issue Feb 8, 2018 · 1 comment
Open

def.calc.sdg input names #15

jbeaulie opened this issue Feb 8, 2018 · 1 comment

Comments

@jbeaulie
Copy link
Collaborator

jbeaulie commented Feb 8, 2018

Unless I am mistaken, the def.calc.sdg function insists that the dataframe names exactly match those referenced in the function (i.e., concentrationCO2Air). It would be nice if the user could map the function arguments to any column in their dataframe. For example, their column for the CO2 concentration in the source gas might be called “concentrationCO2Source”, in which case it would be convenient to call:

def.calc.sdg(inputFile, sourceCO2 = concentrationCO2Source, ….)

but this doesn’t work. Could we modify the function so that it still works seamlessly with the formatted NEON data, yet allows for flexibility in the names of the input data?

@kcawley
Copy link
Collaborator

kcawley commented Apr 23, 2018

New def.calc.sdg.conc.R and def.calc.sdg.sat.R should both operate this way now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants