Skip to content

Commit

Permalink
Add DISCOVER-AQ, FIREX-AQ, GCPEx and IPHEx campaigns & adapt code (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
willemarcel authored Jul 5, 2024
1 parent 5fa905a commit 38b8323
Show file tree
Hide file tree
Showing 7 changed files with 570 additions and 2 deletions.
364 changes: 364 additions & 0 deletions campaigns/DISCOVER-AQ/deployments.yaml

Large diffs are not rendered by default.

66 changes: 66 additions & 0 deletions campaigns/FIREX-AQ/deployments.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
---
deployments:
- name: FIREX-AQ-D1_2019
platforms:
- name: ER-2
files:
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_ER2_Data_1/FIREXAQ-METNAV_ER2_20190801_R0.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_ER2_Data_1/FIREXAQ-METNAV_ER2_20190802_R0.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_ER2_Data_1/FIREXAQ-METNAV_ER2_20190806_R0.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_ER2_Data_1/FIREXAQ-METNAV_ER2_20190807_R0.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_ER2_Data_1/FIREXAQ-METNAV_ER2_20190808_R0.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_ER2_Data_1/FIREXAQ-METNAV_ER2_20190812_R0.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_ER2_Data_1/FIREXAQ-METNAV_ER2_20190813_R0.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_ER2_Data_1/FIREXAQ-METNAV_ER2_20190815_R0.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_ER2_Data_1/FIREXAQ-METNAV_ER2_20190816_R0.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_ER2_Data_1/FIREXAQ-METNAV_ER2_20190819_R0.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_ER2_Data_1/FIREXAQ-METNAV_ER2_20190820_R0.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_ER2_Data_1/FIREXAQ-METNAV_ER2_20190821_R0.ict
- name: DC-8
files:
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_DC8_Data_1/FIREXAQ-METNAV_DC8_20190715_R1.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_DC8_Data_1/FIREXAQ-METNAV_DC8_20190716_R0.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_DC8_Data_1/FIREXAQ-METNAV_DC8_20190717_R0_L1.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_DC8_Data_1/FIREXAQ-METNAV_DC8_20190717_R0_L2.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_DC8_Data_1/FIREXAQ-METNAV_DC8_20190722_R1.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_DC8_Data_1/FIREXAQ-METNAV_DC8_20190724_R1.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_DC8_Data_1/FIREXAQ-METNAV_DC8_20190725_R1.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_DC8_Data_1/FIREXAQ-METNAV_DC8_20190729_R1.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_DC8_Data_1/FIREXAQ-METNAV_DC8_20190730_R1.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_DC8_Data_1/FIREXAQ-METNAV_DC8_20190802_R1.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_DC8_Data_1/FIREXAQ-METNAV_DC8_20190803_R1.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_DC8_Data_1/FIREXAQ-METNAV_DC8_20190806_R1.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_DC8_Data_1/FIREXAQ-METNAV_DC8_20190807_R1.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_DC8_Data_1/FIREXAQ-METNAV_DC8_20190808_R1.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_DC8_Data_1/FIREXAQ-METNAV_DC8_20190812_R1.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_DC8_Data_1/FIREXAQ-METNAV_DC8_20190813_R1.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_DC8_Data_1/FIREXAQ-METNAV_DC8_20190815_R1.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_DC8_Data_1/FIREXAQ-METNAV_DC8_20190816_R1.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_DC8_Data_1/FIREXAQ-METNAV_DC8_20190819_R1.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_DC8_Data_1/FIREXAQ-METNAV_DC8_20190821_R1.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_DC8_Data_1/FIREXAQ-METNAV_DC8_20190823_R1.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_DC8_Data_1/FIREXAQ-METNAV_DC8_20190826_R1.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_DC8_Data_1/FIREXAQ-METNAV_DC8_20190829_R1.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_DC8_Data_1/FIREXAQ-METNAV_DC8_20190830_R1.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_DC8_Data_1/FIREXAQ-METNAV_DC8_20190831_R1.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_DC8_Data_1/FIREXAQ-METNAV_DC8_20190903_R1.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_DC8_Data_1/FIREXAQ-METNAV_DC8_20190905_R1.ict
- name: Twin Otter
files:
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_N48_Data_1/FIREXAQ-FLIGHTDATA_N48_20190729_R1.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_N48_Data_1/FIREXAQ-FLIGHTDATA_N48_20190803_R1.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_N48_Data_1/FIREXAQ-FLIGHTDATA_N48_20190805_R1.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_N48_Data_1/FIREXAQ-FLIGHTDATA_N48_20190809_R1.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_N48_Data_1/FIREXAQ-FLIGHTDATA_N48_20190810_R1.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_N48_Data_1/FIREXAQ-FLIGHTDATA_N48_20190811_R1.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_N48_Data_1/FIREXAQ-FLIGHTDATA_N48_20190816_R1.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_N48_Data_1/FIREXAQ-FLIGHTDATA_N48_20190817_R1.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_N48_Data_1/FIREXAQ-FLIGHTDATA_N48_20190820_R1.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_N48_Data_1/FIREXAQ-FLIGHTDATA_N48_20190821_R1.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_N48_Data_1/FIREXAQ-FLIGHTDATA_N48_20190824_R1.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_N48_Data_1/FIREXAQ-FLIGHTDATA_N48_20190825_R1.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_N48_Data_1/FIREXAQ-FLIGHTDATA_N48_20190827_R1.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_N48_Data_1/FIREXAQ-FLIGHTDATA_N48_20190828_R1.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_N48_Data_1/FIREXAQ-FLIGHTDATA_N48_20190903_R1.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_N48_Data_1/FIREXAQ-FLIGHTDATA_N48_20190904_R1.ict
- https://asdc.larc.nasa.gov/data/FIREX-AQ/MetNav_AircraftInSitu_N48_Data_1/FIREXAQ-FLIGHTDATA_N48_20190905_R1.ict
38 changes: 38 additions & 0 deletions campaigns/GCPEx/deployments.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
deployments:
- name: GCPEx-D1_2012
platforms:
- name: DC-8
files:
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavdc8gcpex__1/GCPEX_nav_dc8_20120111_r1.ict
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavdc8gcpex__1/GCPEX_nav_dc8_20120117_r1.ict
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavdc8gcpex__1/GCPEX_nav_dc8_20120119_r1.ict
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavdc8gcpex__1/GCPEX_nav_dc8_20120121_r1.ict
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavdc8gcpex__1/GCPEX_nav_dc8_20120126_r1.ict
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavdc8gcpex__1/GCPEX_nav_dc8_20120128_r1.ict
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavdc8gcpex__1/GCPEX_nav_dc8_20120130_r1.ict
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavdc8gcpex__1/GCPEX_nav_dc8_20120204_r1.ict
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavdc8gcpex__1/GCPEX_nav_dc8_20120207_r1.ict
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavdc8gcpex__1/GCPEX_nav_dc8_20120212_1_r1.ict
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavdc8gcpex__1/GCPEX_nav_dc8_20120212_2_r1.ict
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavdc8gcpex__1/GCPEX_nav_dc8_20120216_r1.ict
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavdc8gcpex__1/GCPEX_nav_dc8_20120220_r1.ict
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavdc8gcpex__1/GCPEX_nav_dc8_20120221_r1.ict
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavdc8gcpex__1/GCPEX_nav_dc8_20120224_r1.ict
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavdc8gcpex__1/GCPEX_nav_dc8_20120225_r1.ict
- name: Citation
tsv_format: true
rename_as_ict: true
files:
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitgcpex2__2/nav_2012_01_19_14_48_04.gcpex
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitgcpex2__2/nav_2012_01_27_01_55_33.gcpex
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitgcpex2__2/nav_2012_01_28_15_49_01.gcpex
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitgcpex2__2/nav_2012_01_30_22_40_15.gcpex
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitgcpex2__2/nav_2012_02_12_03_00_55.gcpex
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitgcpex2__2/nav_2012_02_12_23_40_37.gcpex
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitgcpex2__2/nav_2012_02_14_16_31_21.gcpex
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitgcpex2__2/nav_2012_02_16_14_24_27.gcpex
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitgcpex2__2/nav_2012_02_18_09_43_52.gcpex
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitgcpex2__2/nav_2012_02_18_15_38_46.gcpex
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitgcpex2__2/nav_2012_02_24_11_34_08.gcpex
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitgcpex2__2/nav_2012_02_24_16_40_10.gcpex
79 changes: 79 additions & 0 deletions campaigns/IPHEx/deployments.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
---
deployments:
- name: IPHEx-D1_2014
platforms:
- name: Citation
tsv_format: true
rename_as_ict: true
files:
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitiphx__1/nav_2014_03_06_17_45_37.iphex
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitiphx__1/nav_2014_04_16_16_33_26.iphex
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitiphx__1/nav_2014_04_22_20_46_40.iphex
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitiphx__1/nav_2014_04_29_15_21_03.iphex
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitiphx__1/nav_2014_05_09_18_43_16.iphex
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitiphx__1/nav_2014_05_10_15_38_13.iphex
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitiphx__1/nav_2014_05_12_09_08_18.iphex
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitiphx__1/nav_2014_05_12_12_07_16.iphex
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitiphx__1/nav_2014_05_12_17_45_18.iphex
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitiphx__1/nav_2014_05_15_12_58_40.iphex
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitiphx__1/nav_2014_05_16_10_14_27.iphex
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitiphx__1/nav_2014_05_16_12_37_36.iphex
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitiphx__1/nav_2014_05_16_17_00_32.iphex
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitiphx__1/nav_2014_05_18_10_55_51.iphex
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitiphx__1/nav_2014_05_19_06_07_13.iphex
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitiphx__1/nav_2014_05_19_09_01_04.iphex
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitiphx__1/nav_2014_05_19_15_27_23.iphex
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitiphx__1/nav_2014_05_23_13_21_31.Combined.iphex
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitiphx__1/nav_2014_05_23_18_08_42.iphex
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitiphx__1/nav_2014_05_23_22_04_48.iphex
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitiphx__1/nav_2014_05_25_18_59_17.iphex
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitiphx__1/nav_2014_05_26_19_58_48.iphex
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitiphx__1/nav_2014_05_27_13_49_05.iphex
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitiphx__1/nav_2014_05_27_21_13_09.iphex
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitiphx__1/nav_2014_05_28_13_10_57.iphex
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitiphx__1/nav_2014_05_28_19_07_10.iphex
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitiphx__1/nav_2014_05_29_17_25_29.iphex
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitiphx__1/nav_2014_06_05_07_11_34.iphex
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitiphx__1/nav_2014_06_06_18_21_47.iphex
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitiphx__1/nav_2014_06_08_18_07_30.iphex
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitiphx__1/nav_2014_06_11_16_42_00.iphex
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitiphx__1/nav_2014_06_12_16_05_01.iphex
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnavcitiphx__1/nav_2014_06_13_18_51_49.iphex
- name: ER-2
files:
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnaver2iphx__1/iphex_naver2_IWG1_20140504.xml
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnaver2iphx__1/iphex_naver2_IWG1_20140504-1343_20140504-1834.txt
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnaver2iphx__1/iphex_naver2_IWG1_20140507-1630_20140507-1951.txt
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnaver2iphx__1/iphex_naver2_IWG1_20140507.xml
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnaver2iphx__1/iphex_naver2_IWG1_20140512.xml
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnaver2iphx__1/iphex_naver2_IWG1_20140512-0826_20140512-1634.txt
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnaver2iphx__1/iphex_naver2_IWG1_20140515-1205_20140515-1907.txt
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnaver2iphx__1/iphex_naver2_IWG1_20140515.xml
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnaver2iphx__1/iphex_naver2_IWG1_20140516-1045_20140515-1910.txt
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnaver2iphx__1/iphex_naver2_IWG1_20140516.xml
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnaver2iphx__1/iphex_naver2_IWG1_20140518-0931_20140518-1626.txt
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnaver2iphx__1/iphex_naver2_IWG1_20140518.xml
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnaver2iphx__1/iphex_naver2_IWG1_20140519.xml
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnaver2iphx__1/iphex_naver2_IWG1_20140519-0746_20140519-1435.txt
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnaver2iphx__1/iphex_naver2_IWG1_20140523-1946_20140523-0302.txt
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnaver2iphx__1/iphex_naver2_IWG1_20140523.xml
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnaver2iphx__1/iphex_naver2_IWG1_20140524.xml
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnaver2iphx__1/iphex_naver2_IWG1_20140524-1910_20140524-0137.txt
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnaver2iphx__1/iphex_naver2_IWG1_20140526.xml
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnaver2iphx__1/iphex_naver2_IWG1_20140526-1722_20140526-2207.txt
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnaver2iphx__1/iphex_naver2_IWG1_20140528-1043_20140528-1734.txt
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnaver2iphx__1/iphex_naver2_IWG1_20140528.xml
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnaver2iphx__1/iphex_naver2_IWG1_20140529.xml
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnaver2iphx__1/iphex_naver2_IWG1_20140529-1520_20140529-2354.txt
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnaver2iphx__1/iphex_naver2_IWG1_20140602.xml
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnaver2iphx__1/iphex_naver2_IWG1_20140602-1333_20140602-1826.txt
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnaver2iphx__1/iphex_naver2_IWG1_20140605-0438_20140605-1031.txt
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnaver2iphx__1/iphex_naver2_IWG1_20140605.xml
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnaver2iphx__1/iphex_naver2_IWG1_20140606.xml
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnaver2iphx__1/iphex_naver2_IWG1_20140606-1437_20140606-2044.txt
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnaver2iphx__1/iphex_naver2_IWG1_20140608.xml
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnaver2iphx__1/iphex_naver2_IWG1_20140608-1549_20140608-2124.txt
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnaver2iphx__1/iphex_naver2_IWG1_20140611.xml
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnaver2iphx__1/iphex_naver2_IWG1_20140611-1353_20140611-2315.txt
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnaver2iphx__1/iphex_naver2_IWG1_20140612-1451_20140612-0006.txt
- https://data.ghrc.earthdata.nasa.gov/ghrcw-protected/gpmnaver2iphx__1/iphex_naver2_IWG1_20140612.xml
1 change: 1 addition & 0 deletions task/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"download": "8.0.0",
"fast-xml-parser": "^4.3.2",
"geojson-antimeridian-cut": "^0.1.0",
"geojson-precision": "^1.0.0",
"meow": "^12.1.1",
"simplify-geojson": "^1.0.5",
"slugify": "^1.6.6",
Expand Down
12 changes: 10 additions & 2 deletions task/src/process.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const simplify = require('simplify-geojson');
const geojsonMerge = require('@mapbox/geojson-merge');
const dist = require('@turf/distance');
const splitGeoJSON = require('geojson-antimeridian-cut');
const geoPrecision = require("geojson-precision");

const { getStats, tsv2csv, divideCoordinates } = require('./utils');

Expand Down Expand Up @@ -36,7 +37,7 @@ const splitICTFile = (filename, isTSVFormatted = false) => {

// ICART files can have different column names for the start time
const possibleFirstColumnNames = [
'index, time_start,', 'Time_Start,', 'StartTime_UTsec,', 'Time_mid,', 'Time', 'UTC,', 'Start_UTC,', 'TIME_NP,', 'UT',
'index, time_start,', 'Gps_time,', 'Time_Start,', 'StartTime_UTsec,', 'Time_mid,', 'Gps_time_midpoint,', 'Start_UTC,', 'UTC,', 'Time', 'TIME_NP,', 'UT',
];
let columnNotFound = true;
possibleFirstColumnNames.forEach((col) => {
Expand All @@ -63,10 +64,16 @@ const splitICTFile = (filename, isTSVFormatted = false) => {
.replace(',GLON,', ',longitude,')
.replace(',gLat,', ',latitude,')
.replace(',gLon,', ',longitude,')
.replace(', GPSLat,', ',latitude,')
.replace(', GPSLon,', ',longitude,')
.replace(', Gps_lat,', ',latitude,')
.replace(', Gps_lon,', ',longitude,')
.replace(', G_LAT,', ',latitude,')
.replace(', G_LONG,', ',longitude,')
.replace(', GPS_LAT_NP,', ',latitude,')
.replace(', GPS_LON_NP,', ',longitude,')
.replace(', FMS_LAT,', ',latitude,')
.replace(', FMS_LON,', ',longitude,')
.replace(',POS_Lat,', ',latitude,')
.replace(',POS_Lon,', ',longitude,')
.replace(', Latitude,', ',latitude,')
Expand Down Expand Up @@ -239,8 +246,9 @@ const convertToGeoJSON = (
*/
const mergeGeoJSONCollection = (collection, outputFilename) => {
const mergedStream = geojsonMerge.merge(collection);
const finalGeoJSON = geoPrecision.parse(mergedStream, 6);

fs.writeFileSync(outputFilename, JSON.stringify(mergedStream));
fs.writeFileSync(outputFilename, JSON.stringify(finalGeoJSON));
console.log(`${outputFilename} created successfully.`);
};

Expand Down
Loading

0 comments on commit 38b8323

Please sign in to comment.