libdsproc3  2.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Deprecated

Functions

void dsproc_vap_main (int argc, char *argv[], char *version_tag, char *proc_name, const char **(*valid_proc_names)(int *nproc_names), void *(*init_process)(void), void(*finish_process)(void *user_data), int(*process_data)(void *user_data, time_t begin_date, time_t end_date, CDSGroup *ret_data))
 Deprecated: Run retriever VAP without transformation logic.
void dsproc_transform_main (int argc, char *argv[], char *version_tag, char *proc_name, const char **(*valid_proc_names)(int *nproc_names), void *(*init_process)(void), void(*finish_process)(void *user_data), int(*process_data)(void *user_data, time_t begin_date, time_t end_date, CDSGroup *trans_data))
 Deprecated: Run VAP using transformation logic.
CDSGroupdsproc_create_dataset (int ds_id, time_t data_time, int set_location)
 Deprecated: use dsproc_create_output_dataset() instead.
int dsproc_trans_dataset_pass_through (CDSGroup *trans_cds, CDSGroup *out_dataset, int flags)
 Deprecated: use dsproc_map_datasets() instead.
CDSGroupdsproc_get_trans_ds_by_group_name (const char *coordsys_name, const char *ret_group_name)
 Deprecated: Find a transformation datastream group.

Detailed Description


Function Documentation

CDSGroup* dsproc_create_dataset ( int  ds_id,
time_t  data_time,
int  set_location 
)

Deprecated: use dsproc_create_output_dataset() instead.

This function has been deprecated. New software should use the dsproc_create_output_dataset() function.

Parameters:
ds_id- datastream ID
data_time- the time used to determine the DOD version and set the time varying attribute values
set_location- specifies if the location should be set using the process location defined in the database.
Returns:
  • pointer to the new dataset
  • NULL if an error occurred

Definition at line 57 of file dsproc_deprecated.c.

CDSGroup* dsproc_get_trans_ds_by_group_name ( const char *  coordsys_name,
const char *  ret_group_name 
)

Deprecated: Find a transformation datastream group.

This function will find the first datastream group in the specified coordinate system that has variable that came from the datastream group specified in the retriever.

Parameters:
coordsys_name- name of the coordinate system
ret_group_name- name of the datastream group as specified in the retriever definition.
Returns:
  • pointer to the transformation datastream CDSGroup.
  • NULL if not found

Definition at line 2856 of file dsproc_transform.c.

int dsproc_trans_dataset_pass_through ( CDSGroup trans_cds,
CDSGroup out_cds,
int  flags 
)

Deprecated: use dsproc_map_datasets() instead.

This function has been deprecated. New software should use the dsproc_map_datasets() function.

Parameters:
trans_cds- pointer to the transformation dataset
out_cds- pointer to the output dataset
flags- reserved for control flags
Returns:
  • 1 if successful
  • 0 if an error occurred

Definition at line 79 of file dsproc_deprecated.c.

void dsproc_transform_main ( int  argc,
char *  argv[],
char *  version_tag,
char *  proc_name,
const char **(*)(int *nproc_names)  valid_proc_names,
void *(*)(void)  init_process,
void(*)(void *user_data)  finish_process,
int(*)(void *user_data, time_t begin_date, time_t end_date, CDSGroup *trans_data)  process_data 
)

Deprecated: Run VAP using transformation logic.

Parameters:
argc- argc value from the main function
argv- argv value from the main function
version_tag- vap software version
proc_name- process name (uses -n switch if NULL)
valid_proc_names- function used to get valid process names
init_process- function used to init process specific data
finish_process- function used to cleanup process specific data
process_data- function used to process and store the transformed data

Definition at line 152 of file dsproc_deprecated.c.

void dsproc_vap_main ( int  argc,
char *  argv[],
char *  version_tag,
char *  proc_name,
const char **(*)(int *nproc_names)  valid_proc_names,
void *(*)(void)  init_process,
void(*)(void *user_data)  finish_process,
int(*)(void *user_data, time_t begin_date, time_t end_date, CDSGroup *ret_data)  process_data 
)

Deprecated: Run retriever VAP without transformation logic.

This function has been deprecated. New software should use the dsproc_main() function.

Parameters:
argc- argc value from the main function
argv- argv value from the main function
version_tag- vap software version
proc_name- process name (uses -n switch if NULL)
valid_proc_names- function used to get valid process names
init_process- function used to init process specific data
finish_process- function used to cleanup process specific data
process_data- function used to process and store the retrieved data

Definition at line 103 of file dsproc_deprecated.c.