-
Notifications
You must be signed in to change notification settings - Fork 41
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
C unit test #51
C unit test #51
Conversation
+ added vc++ 2008 solution (was missing!) + created Makefile for gf_mds - removed common_pi.c (not used) common: # changed internal defines \ enums \struct for new gf_mds code # some funcs now using timeres enum instead of hourly bool var # gf_mds is now an unique func and it has new parameters (QC thresholds, symmetrical mean, max MDV window, ...) - removed gf_mds_with_qc, gf_mds_with_bounds, temp_gf_mds (see above) + added some new funcs: get_rows_count_by_timeres, check_timestamp, timestamp_difference_in_seconds # mystrcat renamed in string_concat qc_auto: # upgraded to v1.01 # minor fixes to reflect changes in common func ustar_mp: # upgraded to v1.01 # minor fixes to reflect changes in common func meteo_proc: # upgraded to v1.01 # minor fixes to reflect changes in common func nee_proc: # upgraded to v1.01 # minor fixes to reflect changes in common func energy_proc: # upgraded to v1.01 # minor fixes to reflect changes in common func gf_mds: # upgraded to v3.0 # big fixes to reflect changes in common func # now using "driver" instead of fluxes name + each driver now has a min and max tolerance customizable value + added driver QC threshold change + added symmentrical mean computation + added max MDV window parameter SW_IN_POT_Calculator: # upgraded to v1.01 # minor fixes to reflect changes in common func shift_solar_noon: # upgraded to v1.01 # minor fixes to reflect changes in common func ure: # upgraded to v1.01 # minor fixes to reflect changes in common funcs
# fixed gf computation # changed comments qc_auto: # replaced 'founded' with 'found' meteo_proc: # replaced 'founded' with 'found' nee_proc: # fixed meteo import # fixed outputs computation # memory will be freed per site to prevent out of memory # replaced 'founded' with 'found' energy_proc: # fixed meteo import # fixed outputs computation # replaced 'founded' with 'found' ure: # replaced 'founded' with 'found' ustar_mp: # replaced 'founded' with 'found'
… tools: qc_auto ustar_mp meteo_proc nee_proc energy_proc gf_mds SW_IN_POT_Calculator shift_solar_noon ure
This reverts commit 90d3ab7.
Hi @ARibecaJob I would branch from main and cherry pick the last three commits you made here and resubmit the PR. I'm happy to help with this if needed. |
Could you also add a little more content to the PR description as done with the Python PR. It makes it a little clearer to reviewers what the purpose of the PR is and what's been changed. Again, I'm happy to help with this if needed. |
Replaced with new PR #53 |
Hi,
a simple test on how to use utest.h unit test library with ONEflux working C code.
Please note that it use custom functions derived from original utest.h header.
Alessio