Skip to content. | Skip to navigation

Personal tools

chan_props_rdr_test.c

#include <stdio.h>
#include <stdlib.h>
#include "airs_chan_props.h"

int main(void) {
airs_chan_props_t chan_props[NUM_AIRS_CHANS];
char file_name[256];
int year = 2003;
int month = 11;
int day = 20;

(void)select_chan_props(file_name, "/home/evan/AIRS/STORE/ancillary/",
year, month, day);

printf("selected file \"%s\" for date %04d-%02d-%02d\n",
file_name, year, month, day);

(void)read_chan_props(file_name, chan_props);

return EXIT_SUCCESS;
}

Document Actions
NASA Logo - nasa.gov
NASA Privacy Policy and Important Notices
Last updated: Sep 09, 2009 02:26 PM ET
Top