| |
- close_orbit_file(fdesc)
- Close fdesc file
Inputs:
--------------------------------------------------
1. fdesc:<file_desc_cl>: class for file access
Returns:
1. None
- get_orbit_column_name()
- get default column name in the orbit file
Returns
---------------------------------------
1. orb_colnm_lst:<list, str>: default name of columns in file
- get_orbit_data(fdesc, **fio_keywords)
- get orbit data
Inputs:
---------------------------------------------------------------
1. fdesc: <fdesc_cl>: class of desc
2. fio_keywords :<dict>: extra parameters for file access
Returns:
-------------------------------------
1. fdesc.dtable:<recordarray>: table read from orbit file
- open_orbit_file(flnm, datapath, viewtype, viewmode, yyyy, mm, dd, **fio_keywords)
- open file to read orbit data
Inputs:
-----------------------------------------------------------
1. flnm:<str>: name of file (reserved for future use )
2. datapath:<str>: file path
3. viewtype:<str>: instrument type
4. viewmode:<str>: nadir or glint view
5. yyyy: <int>: year
6. mm: <int>: month
7. dd:<int>: day of year
8. fio_keywords:<dict>: extra inputs.
--Reserved words:
--->fl_colnm_lst: list of all column names in the file
--->sel_colnm_lst: list of the names for column to be read
--->delim:<str>: dividing word
--->header_start:<int>: header start line
--->data_start:<int>: data start line
Returns:
--------------------------------------------------------
1. fdesc:<file_desc_cl>: class for file access
- read_orbit_file(fdesc, **fio_keywords)
- Read orbit data into fdesc.detable
Inputs:
--------------------------------------------------
1. fdesc:<file_desc_cl>: class for file access
2. fio_keywords:<dict>: extra inputs for file read write
--Reserved words:
--->fl_colnm_lst: list of all column names in the file
--->sel_colnm_lst: list of the names for column to be read
Returns:
-------------------------------------
1. ndata:<int>: length of fdesc.dtable
Notes:
-------------------------------------
1. data will be stored as recarray by fdesc.dtable
|