IMAP-Science-Operations-Center / imap_processing

IMAP
MIT License
6 stars 16 forks source link

I-ALiRT: Decom SWAPI #1092

Open laspsandoval opened 4 weeks ago

laspsandoval commented 4 weeks ago

Algorithm Description:

Use HIT as an example of how to decom SWAPI. The Algorithm Document and data are available at the bottom of this page:

https://lasp.colorado.edu/galaxy/display/IMAP/IMAP+Algorithm+Document+from+Instrument+Teams

Use this as a workaround to open the .csv:

Error: gzip: idle_export_raw.SWP_SCI_20240924_080204.csv.gz: unexpected end of file gzip: idle_export_raw.SWP_SCI_20240924_080204.csv.gz: uncompress failed

Reason: 0,0,1,1188,3,6169,47,464881729,1,1,1,2,0,4934,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,562,0,0,519,0,0,534,0,0,509,0,0,566,0,0,541,0,0,116,2024-09-24 09:49:01.018804 0,0,1,1188,3,6170,47,464881730,2,1,

Many of the files may have incomplete last row, which cause unzipping issue. The workaround I had to do was using below steps:

Use this command to unzip from terminal: gzip -dc idle_export_raw.SWP_SCI_20240924_080204.csv.gz

Copy and paste the output from above command into csv file.