Grassroots Infrastructure
The Grassroots Infrastructure is a suite of computing tools to help users and developers use scientific data infrastructure that can easily be interconnected.
|
#include "dfw_field_trial_service_data.h"
#include "dfw_field_trial_service_library.h"
#include "standard_row.h"
#include "plot.h"
#include "treatment_factor_value.h"
Go to the source code of this file.
Functions | |
Row * | GetRowByRackIndex (const int32 row, Plot *plot_p, const bool expand_fields_flag, const FieldTrialServiceData *data_p) |
Row * | GetRowByStudyIndex (const int32 by_study_index, Study *study_p, const ViewFormat format, FieldTrialServiceData *data_p) |
LinkedList * | GetAllRowsContainingMaterial (Material *material_p, const FieldTrialServiceData *data_p) |
OperationStatus | AddObservationValueToStandardRow (StandardRow *row_p, const uint32 row_index, const char *key_s, const json_t *value_p, ServiceJob *job_p, FieldTrialServiceData *data_p) |
OperationStatus | AddTreatmentFactorValuesToStandardRow (StandardRow *row_p, json_t *plot_json_p, Study *study_p, FieldTrialServiceData *data_p) |
OperationStatus | AddStatsValuesToBaseRow (Row *row_p, json_t *stas_json_p, Study *study_p, ServiceJob *job_p, const uint32 row_index, FieldTrialServiceData *data_p) |
bool | AddTreatmentFactorValueToRowByParts (StandardRow *row_p, TreatmentFactor *tf_p, const char *value_s) |
json_t * | GetRowAsFrictionlessData (const Row *row_p, const Study *const study_p, const FieldTrialServiceData *service_data_p, const char *const null_sequence_s) |
bool | AddRowFrictionlessDataDetails (const Row *row_p, json_t *row_fd_p, const FieldTrialServiceData *service_data_p, const char *const null_sequence_s) |
Observation * | GetMatchingObservation (const StandardRow *row_p, const MeasuredVariable *variable_p, const struct tm *start_date_p, const struct tm *end_date_p, const uint32 *index_p) |
ObservationNode * | GetMatchingObservationNode (const StandardRow *row_p, const MeasuredVariable *variable_p, const struct tm *start_date_p, const struct tm *end_date_p, const uint32 *index_p) |
void | RemoveObservationNode (const StandardRow *row_p, ObservationNode *node_p) |
OperationStatus | AddSingleTreatmentFactorValueToStandardRow (StandardRow *row_p, const char *key_s, const char *value_s, Study *study_p, ServiceJob *job_p, const uint32 row_index, FieldTrialServiceData *data_p) |
bool | GetDiscardValueFromSubmissionJSON (const json_t *row_json_p) |
bool | GetBlankValueFromSubmissionJSON (const json_t *row_json_p) |
Row * | GetRowByIdString (const char *row_id_s, const ViewFormat format, const FieldTrialServiceData *data_p) |
char * | GetRowsNameKey (void) |
void | FreeRowsNameKey (char *key_s) |
OperationStatus | AddObservationValueToStandardRowByParts (ServiceJob *job_p, StandardRow *row_p, MeasuredVariable *measured_variable_p, struct tm *start_date_p, struct tm *end_date_p, const char *key_s, const json_t *raw_value_p, const json_t *corrected_value_p, const char *notes_s, const uint32 observation_index, bool *free_measured_variable_flag_p, void(*on_error_callback_fn)(ServiceJob *job_p, const char *const observation_field_s, const void *value_p, void *user_data_p), void *user_data_p) |
Row* GetRowByRackIndex | ( | const int32 | row, |
Plot * | plot_p, | ||
const bool | expand_fields_flag, | ||
const FieldTrialServiceData * | data_p | ||
) |
Row* GetRowByStudyIndex | ( | const int32 | by_study_index, |
Study * | study_p, | ||
const ViewFormat | format, | ||
FieldTrialServiceData * | data_p | ||
) |
LinkedList* GetAllRowsContainingMaterial | ( | Material * | material_p, |
const FieldTrialServiceData * | data_p | ||
) |
OperationStatus AddObservationValueToStandardRow | ( | StandardRow * | row_p, |
const uint32 | row_index, | ||
const char * | key_s, | ||
const json_t * | value_p, | ||
ServiceJob * | job_p, | ||
FieldTrialServiceData * | data_p | ||
) |
OperationStatus AddTreatmentFactorValuesToStandardRow | ( | StandardRow * | row_p, |
json_t * | plot_json_p, | ||
Study * | study_p, | ||
FieldTrialServiceData * | data_p | ||
) |
OperationStatus AddStatsValuesToBaseRow | ( | Row * | row_p, |
json_t * | stas_json_p, | ||
Study * | study_p, | ||
ServiceJob * | job_p, | ||
const uint32 | row_index, | ||
FieldTrialServiceData * | data_p | ||
) |
bool AddTreatmentFactorValueToRowByParts | ( | StandardRow * | row_p, |
TreatmentFactor * | tf_p, | ||
const char * | value_s | ||
) |
json_t* GetRowAsFrictionlessData | ( | const Row * | row_p, |
const Study *const | study_p, | ||
const FieldTrialServiceData * | service_data_p, | ||
const char *const | null_sequence_s | ||
) |
bool AddRowFrictionlessDataDetails | ( | const Row * | row_p, |
json_t * | row_fd_p, | ||
const FieldTrialServiceData * | service_data_p, | ||
const char *const | null_sequence_s | ||
) |
Observation* GetMatchingObservation | ( | const StandardRow * | row_p, |
const MeasuredVariable * | variable_p, | ||
const struct tm * | start_date_p, | ||
const struct tm * | end_date_p, | ||
const uint32 * | index_p | ||
) |
ObservationNode* GetMatchingObservationNode | ( | const StandardRow * | row_p, |
const MeasuredVariable * | variable_p, | ||
const struct tm * | start_date_p, | ||
const struct tm * | end_date_p, | ||
const uint32 * | index_p | ||
) |
void RemoveObservationNode | ( | const StandardRow * | row_p, |
ObservationNode * | node_p | ||
) |
OperationStatus AddSingleTreatmentFactorValueToStandardRow | ( | StandardRow * | row_p, |
const char * | key_s, | ||
const char * | value_s, | ||
Study * | study_p, | ||
ServiceJob * | job_p, | ||
const uint32 | row_index, | ||
FieldTrialServiceData * | data_p | ||
) |
bool GetDiscardValueFromSubmissionJSON | ( | const json_t * | row_json_p | ) |
bool GetBlankValueFromSubmissionJSON | ( | const json_t * | row_json_p | ) |
Row* GetRowByIdString | ( | const char * | row_id_s, |
const ViewFormat | format, | ||
const FieldTrialServiceData * | data_p | ||
) |
char* GetRowsNameKey | ( | void | ) |
void FreeRowsNameKey | ( | char * | key_s | ) |
OperationStatus AddObservationValueToStandardRowByParts | ( | ServiceJob * | job_p, |
StandardRow * | row_p, | ||
MeasuredVariable * | measured_variable_p, | ||
struct tm * | start_date_p, | ||
struct tm * | end_date_p, | ||
const char * | key_s, | ||
const json_t * | raw_value_p, | ||
const json_t * | corrected_value_p, | ||
const char * | notes_s, | ||
const uint32 | observation_index, | ||
bool * | free_measured_variable_flag_p, | ||
void(*)(ServiceJob *job_p, const char *const observation_field_s, const void *value_p, void *user_data_p) | on_error_callback_fn, | ||
void * | user_data_p | ||
) |