| UDF_OPEN | UDF IDL INTERFACE MANUAL | UDF_OPEN |
|---|
| fh =  | UDF_OPEN | ( | Key, By, Bd, {Bh}, {Bm}, {Bs}, |
| {Ey}, {Ed}, {Eh}, {Em}, {Es}, KEYWORDS ) |
| fh =  | UDF_OPEN | ( | Key, [By, Bd, {Bh}, {Bm}, {Bs}], |
| {[{Ey}, {Ed}, {Eh}, {Em}, {Es}]}, KEYWORDS ) |
| Key | - | UDF Source Key produced in call to UDF_KEY |
| By | - | Starting Year of data |
| Bd | - | Starting Day of data |
| Bh | - | Starting Hour of data |
| Bn | - | Starting Minute of data |
| Bs | - | Starting Second of data |
| Ey | - | Ending Year of data |
| Ed | - | Ending Day of data |
| Eh | - | Ending Hour of data |
| En | - | Ending Minute of data |
| Es | - | Ending Second of data |
| KEYWORDS | - | Any of the defined UDF IDL keywords |
| fh | - | Index into the array where information on the opened UDF is stored. |
The Start and Stop times can be input into the routine either as a set of integers or as two arrays of integers, one array representing the start time and one the stop time. In neither input format does the entire time field need to be specified. As a minimum both the beginning Year and Day must be given. The table below shows how the time input values are filled out for partial input. Green values are input values.
| By | Bd | Bh | Bm | Bs | Ey | Ed | Eh | Em | Es |
|---|---|---|---|---|---|---|---|---|---|
| 2000 | 300 | 00 | 00 | 00 | 2000 | 300 | 23 | 59 | 59 |
| 2000 | 300 | 22 | 00 | 00 | 2000 | 300 | 23 | 59 | 59 |
| 2000 | 300 | 22 | 10 | 00 | 2000 | 300 | 23 | 59 | 59 |
| 2000 | 300 | 22 | 10 | 30 | 2000 | 300 | 23 | 59 | 59 |
| 2000 | 300 | 22 | 10 | 30 | 2000 | 300 | 23 | 59 | 59 |
| 2000 | 300 | 22 | 10 | 30 | 2000 | 301 | 23 | 59 | 59 |
| 2000 | 300 | 22 | 10 | 30 | 2000 | 301 | 01 | 59 | 59 |
| 2000 | 300 | 22 | 10 | 30 | 2000 | 301 | 01 | 30 | 59 |
| 2000 | 300 | 22 | 10 | 30 | 2000 | 301 | 01 | 30 | 50 |
Any options to be used in the processing of this UDF data must be set in this routine through the defined UDF IDL KEYWORDS unless UDF_KEY was called using a Keyword Definition File as input in which case the keywords have already been set.
The ending times input into this routine are not directly used but stored for use by the UDF_EOF routine.
| USAGE | : | key = UDF_OPEN(Key, [BT] {[ET]}) |
| USAGE | : | key = UDF_OPEN(Key, BT {ET}) |
| UDF_OPEN | : | Must Have At Least BYear and BDay |
| UDF_OPEN | : | Input Name %d Must Be A Scalar |
| UDF_OPEN | : | malloc (AncInfo) failed! |
| File_Open | : | No Data For This Time Period |
| File_Open | : | %d (UdfError from file_open) |
| ReadIdf[MaxLen] | : | %d (UdfError from read_idf in getting maxlen) |
| ReadIdf[SampleId] | : | %d (UdfError from read_idf in getting sample_id) |
| ReadIdf[SenMode] | : | %d (UdfError from read_idf in getting sen_mode) |
| ReadIdf[AncSets] | : | %d (UdfError from read_idf in getting cal_sets) |
| ReadIdf[AncUse] | : | %d (UdfError from read_idf in getting cal_use) |
| ReadIdf[AncTarget] | : | %d (UdfError from read_idf in getting cal_target) |
| FilePos | : | %d (UdfError from FilePosRec) |
| Dec 6, 2002 |
|---|
| &larr Previous | TOC | HOME | Next &rarr |
| UDF_KEY | UDF_READ |