@nasa-terra/components 0.0.182 → 0.0.184
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/chunk.274VX5AI.js +33 -0
- package/cdn/chunks/chunk.2COOP2HT.js +92 -0
- package/cdn/chunks/chunk.2JHDT3OE.js +62 -0
- package/cdn/chunks/chunk.2OLW33RV.js +19 -0
- package/cdn/chunks/chunk.2OMBCMRU.js +224 -0
- package/cdn/chunks/chunk.2ON5K7RB.js +19 -0
- package/cdn/chunks/chunk.2PC4LFFX.js +278 -0
- package/cdn/chunks/chunk.3DJILR54.js +33 -0
- package/cdn/chunks/chunk.3E5GSH35.js +36 -0
- package/cdn/chunks/chunk.3GNT6KM3.js +19 -0
- package/cdn/chunks/chunk.3LCCHEEZ.js +658 -0
- package/cdn/chunks/chunk.3OKVMUEH.js +36 -0
- package/cdn/chunks/chunk.3OZZA454.js +29 -0
- package/cdn/chunks/chunk.3VJXEPK7.js +473 -0
- package/cdn/chunks/chunk.3Y7HZ5CS.js +110 -0
- package/cdn/chunks/chunk.44ST5MZM.js +19 -0
- package/cdn/chunks/chunk.4BYVM4PX.js +104 -0
- package/cdn/chunks/chunk.4IUQQZWR.js +19 -0
- package/cdn/chunks/chunk.52BSJECH.js +599 -0
- package/cdn/chunks/chunk.53TY2RNB.js +78 -0
- package/cdn/chunks/chunk.5A3NEGXS.js +37 -0
- package/cdn/chunks/chunk.5EE6IBHX.js +1214 -0
- package/cdn/chunks/chunk.5LGOTDRZ.js +29 -0
- package/cdn/chunks/chunk.5X5LSEUB.js +30 -0
- package/cdn/chunks/chunk.62PV6OSL.js +19 -0
- package/cdn/chunks/chunk.63OVZYG7.js +134 -0
- package/cdn/chunks/chunk.6DK7DS4M.js +19 -0
- package/cdn/chunks/chunk.6FVRJALX.js +472 -0
- package/cdn/chunks/chunk.6GWEFJWJ.js +32 -0
- package/cdn/chunks/chunk.6HCUGKE5.js +1975 -0
- package/cdn/chunks/chunk.6HMBO3QD.js +29 -0
- package/cdn/chunks/chunk.6PLVT3D2.js +19 -0
- package/cdn/chunks/chunk.6VE4J7SY.js +29 -0
- package/cdn/chunks/chunk.6YQGTQFL.js +610 -0
- package/cdn/chunks/chunk.7GNY4ZJJ.js +29 -0
- package/cdn/chunks/chunk.7PIPEENX.js +19 -0
- package/cdn/chunks/chunk.7WAQYDVX.js +524 -0
- package/cdn/chunks/chunk.AB6KJNJM.js +19 -0
- package/cdn/chunks/chunk.AFIJHX2X.js +32 -0
- package/cdn/chunks/chunk.AMT6MWBH.js +99 -0
- package/cdn/chunks/chunk.ASJLND3B.js +77 -0
- package/cdn/chunks/chunk.ATXIS4CA.js +259 -0
- package/cdn/chunks/chunk.B5RBVEDG.js +29 -0
- package/cdn/chunks/chunk.BDK4L4WK.js +29 -0
- package/cdn/chunks/chunk.BTEZPLI7.js +47 -0
- package/cdn/chunks/chunk.BXZ6O6V3.js +19 -0
- package/cdn/chunks/chunk.C2ZGHGK2.js +19 -0
- package/cdn/chunks/chunk.C32YXNVL.js +34 -0
- package/cdn/chunks/chunk.C3QNE7FJ.js +29 -0
- package/cdn/chunks/chunk.C3QXDFAH.js +19 -0
- package/cdn/chunks/chunk.CE3AARJN.js +29 -0
- package/cdn/chunks/chunk.CSHS47RP.js +132 -0
- package/cdn/chunks/chunk.CTSWDN2G.js +29 -0
- package/cdn/chunks/chunk.CUFMBAD2.js +19 -0
- package/cdn/chunks/chunk.CZTP7RAP.js +41 -0
- package/cdn/chunks/chunk.D5BXM7U5.js +83 -0
- package/cdn/chunks/chunk.DIP23AEI.js +37 -0
- package/cdn/chunks/chunk.DPIORTI4.js +285 -0
- package/cdn/chunks/chunk.DVD24B3N.js +915 -0
- package/cdn/chunks/chunk.E7SEBTAI.js +19 -0
- package/cdn/chunks/chunk.EEUIXTNL.js +19 -0
- package/cdn/chunks/chunk.EHCXCQGT.js +238 -0
- package/cdn/chunks/chunk.EIYQWVOJ.js +29 -0
- package/cdn/chunks/chunk.EKETYP36.js +29 -0
- package/cdn/chunks/chunk.EPGCAEJC.js +32 -0
- package/cdn/chunks/chunk.ET3OUNBN.js +443 -0
- package/cdn/chunks/chunk.EVJH7XI7.js +36 -0
- package/cdn/chunks/chunk.F5SBX6VV.js +134 -0
- package/cdn/chunks/chunk.F5SNOFIV.js +60 -0
- package/cdn/chunks/chunk.F7QE3QNK.js +93 -0
- package/cdn/chunks/chunk.FB3LJUBW.js +2547 -0
- package/cdn/chunks/chunk.FDZ5TH57.js +29 -0
- package/cdn/chunks/chunk.FGXBKEPR.js +29 -0
- package/cdn/chunks/chunk.FHWPE6NH.js +19 -0
- package/cdn/chunks/chunk.FMX64JFI.js +19 -0
- package/cdn/chunks/chunk.G2ARBBZQ.js +19 -0
- package/cdn/chunks/chunk.G2O2RQFY.js +35 -0
- package/cdn/chunks/chunk.G4TTYSEU.js +19 -0
- package/cdn/chunks/chunk.GAKHU2N3.js +19 -0
- package/cdn/chunks/chunk.GDM5LC5C.js +19 -0
- package/cdn/chunks/chunk.GKEFLWAI.js +276 -0
- package/cdn/chunks/chunk.GQGD7EUL.js +32 -0
- package/cdn/chunks/chunk.GW77754P.js +74 -0
- package/cdn/chunks/chunk.H62L42LE.js +36 -0
- package/cdn/chunks/chunk.HHA43ML3.js +93 -0
- package/cdn/chunks/chunk.HKDDZJ35.js +29 -0
- package/cdn/chunks/chunk.HNALPS6Z.js +897 -0
- package/cdn/chunks/chunk.HRQAMWT5.js +19 -0
- package/cdn/chunks/chunk.I4XIIXW7.js +113 -0
- package/cdn/chunks/chunk.I5LQG5RB.js +165 -0
- package/cdn/chunks/chunk.I6DEIO6Q.js +136 -0
- package/cdn/chunks/chunk.IFRWRZDM.js +662 -0
- package/cdn/chunks/chunk.IFZEC32K.js +19 -0
- package/cdn/chunks/chunk.IJS3GPFM.js +19 -0
- package/cdn/chunks/chunk.IS6BRYWN.js +151 -0
- package/cdn/chunks/chunk.ITBUKQE5.js +35 -0
- package/cdn/chunks/chunk.IUT6COGR.js +359 -0
- package/cdn/chunks/chunk.JGXOO23U.js +60 -0
- package/cdn/chunks/chunk.JMBLKEYF.js +32 -0
- package/cdn/chunks/chunk.JPJJZYRR.js +29 -0
- package/cdn/chunks/chunk.JS5OOQLY.js +125 -0
- package/cdn/chunks/chunk.JSGR2CDK.js +33 -0
- package/cdn/chunks/chunk.JYFFNFR3.js +514 -0
- package/cdn/chunks/chunk.KBS3WI6G.js +56075 -0
- package/cdn/chunks/chunk.KE6Y7CXX.js +19 -0
- package/cdn/chunks/chunk.KFLNDUMJ.js +34 -0
- package/cdn/chunks/chunk.KTAPQACH.js +329 -0
- package/cdn/chunks/chunk.KZ3GPG5T.js +32 -0
- package/cdn/chunks/chunk.LRZIT4M2.js +157 -0
- package/cdn/chunks/chunk.LZSXC3BB.js +19 -0
- package/cdn/chunks/chunk.M4GCODBW.js +82 -0
- package/cdn/chunks/chunk.M7T7VMI3.js +19 -0
- package/cdn/chunks/chunk.MAHUWVEN.js +279 -0
- package/cdn/chunks/chunk.MBBHTNRG.js +477 -0
- package/cdn/chunks/chunk.MCTEOASF.js +19 -0
- package/cdn/chunks/chunk.MGWUWXM3.js +189 -0
- package/cdn/chunks/chunk.MNFNXC6U.js +32 -0
- package/cdn/chunks/chunk.MPDZAAOU.js +49 -0
- package/cdn/chunks/chunk.MWZTSDCV.js +188 -0
- package/cdn/chunks/chunk.MZAPEWWP.js +234 -0
- package/cdn/chunks/chunk.N4WZUEQD.js +205 -0
- package/cdn/chunks/chunk.NC6VRDSJ.js +288 -0
- package/cdn/chunks/chunk.NNGRV4QU.js +493 -0
- package/cdn/chunks/chunk.NTFHUGMR.js +293 -0
- package/cdn/chunks/chunk.NZEB6X4P.js +123 -0
- package/cdn/chunks/chunk.O2NJI5V4.js +904 -0
- package/cdn/chunks/chunk.O2YB6XK5.js +29 -0
- package/cdn/chunks/chunk.O6DW6QFG.js +19 -0
- package/cdn/chunks/chunk.ODAEGFX3.js +29 -0
- package/cdn/chunks/chunk.OERYIF2J.js +19 -0
- package/cdn/chunks/chunk.OHN3HAHB.js +35 -0
- package/cdn/chunks/chunk.OKCVFWXM.js +29 -0
- package/cdn/chunks/chunk.PJ53QCHG.js +19 -0
- package/cdn/chunks/chunk.PMEE53UO.js +19 -0
- package/cdn/chunks/chunk.PWFN3WND.js +33 -0
- package/cdn/chunks/chunk.QBNRYJM2.js +34 -0
- package/cdn/chunks/chunk.QIOFTZRF.js +29 -0
- package/cdn/chunks/chunk.QKKAIJRP.js +3451 -0
- package/cdn/chunks/chunk.QO2AC2B6.js +29 -0
- package/cdn/chunks/chunk.QROOTROX.js +29 -0
- package/cdn/chunks/chunk.QWBMU2QG.js +2244 -0
- package/cdn/chunks/chunk.QZEPPLFA.js +19 -0
- package/cdn/chunks/chunk.R32NPMVI.js +19 -0
- package/cdn/chunks/chunk.RDDBI4SY.js +19 -0
- package/cdn/chunks/chunk.RF22GUSL.js +19 -0
- package/cdn/chunks/chunk.RIQ363XS.js +35 -0
- package/cdn/chunks/chunk.RISDH34C.js +350 -0
- package/cdn/chunks/chunk.RK6AG45O.js +86 -0
- package/cdn/chunks/chunk.RMBNJDJ4.js +19 -0
- package/cdn/chunks/chunk.RPFRSE2Z.js +29 -0
- package/cdn/chunks/chunk.RVVU4PMP.js +32 -0
- package/cdn/chunks/chunk.SELO7XG4.js +19 -0
- package/cdn/chunks/chunk.SG5IOVFZ.js +19 -0
- package/cdn/chunks/chunk.SLZNBYNJ.js +29 -0
- package/cdn/chunks/chunk.SOI2X32A.js +68 -0
- package/cdn/chunks/chunk.SRJ75TMH.js +32 -0
- package/cdn/chunks/chunk.SRJEHYGM.js +19 -0
- package/cdn/chunks/chunk.SUMHKERD.js +19 -0
- package/cdn/chunks/chunk.SWRMAID5.js +29 -0
- package/cdn/chunks/chunk.SXHVPE4R.js +155 -0
- package/cdn/chunks/chunk.T5ERJS5E.js +190 -0
- package/cdn/chunks/chunk.T6LNVJID.js +29 -0
- package/cdn/chunks/chunk.TBMDIMBM.js +231 -0
- package/cdn/chunks/chunk.TEJLFDZH.js +19 -0
- package/cdn/chunks/chunk.TEP52AIU.js +99 -0
- package/cdn/chunks/chunk.TF4K5RD6.js +19 -0
- package/cdn/chunks/chunk.TF7ANYU2.js +538 -0
- package/cdn/chunks/chunk.TJDDNEVM.js +19 -0
- package/cdn/chunks/chunk.TM5Y6BSP.js +19 -0
- package/cdn/chunks/chunk.TNP73SJ5.js +32 -0
- package/cdn/chunks/chunk.TTPP3CSY.js +19 -0
- package/cdn/chunks/chunk.TW7BQM7L.js +19 -0
- package/cdn/chunks/chunk.TWOF5TOT.js +616 -0
- package/cdn/chunks/chunk.U4IQLDWL.js +29 -0
- package/cdn/chunks/chunk.UAVWWFC5.js +19 -0
- package/cdn/chunks/chunk.UOVG57JU.js +19 -0
- package/cdn/chunks/chunk.USUBCPNS.js +19 -0
- package/cdn/chunks/chunk.UZMGM6H5.js +230 -0
- package/cdn/chunks/chunk.UZWCAVHY.js +19 -0
- package/cdn/chunks/chunk.V36ZUPD5.js +1184 -0
- package/cdn/chunks/chunk.VBU7CRTE.js +33 -0
- package/cdn/chunks/chunk.VFK35CBK.js +19 -0
- package/cdn/chunks/chunk.VJDGDFD5.js +19 -0
- package/cdn/chunks/chunk.VMEZAS4X.js +19 -0
- package/cdn/chunks/chunk.VRGSSGVY.js +19 -0
- package/cdn/chunks/chunk.VTN3LLII.js +71 -0
- package/cdn/chunks/chunk.WG4VDVEI.js +81 -0
- package/cdn/chunks/chunk.WJI7HHQV.js +372 -0
- package/cdn/chunks/chunk.WMF22SGF.js +106 -0
- package/cdn/chunks/chunk.XDETGEJR.js +32 -0
- package/cdn/chunks/chunk.XFO6JLYU.js +19 -0
- package/cdn/chunks/chunk.XFWUFFZG.js +32 -0
- package/cdn/chunks/chunk.XJ4QKE2M.js +32 -0
- package/cdn/chunks/chunk.XLYTCSQO.js +357 -0
- package/cdn/chunks/chunk.XN6332FW.js +29 -0
- package/cdn/chunks/chunk.XOHFDFCI.js +29 -0
- package/cdn/chunks/chunk.XRTCNTPM.js +32 -0
- package/cdn/chunks/chunk.Y4RMP4KI.js +310 -0
- package/cdn/chunks/chunk.YGUGZHSD.js +161 -0
- package/cdn/chunks/chunk.YKJYMCXN.js +29 -0
- package/cdn/chunks/chunk.YMX3QFGQ.js +19 -0
- package/cdn/chunks/chunk.YYZAGLR2.js +19 -0
- package/cdn/chunks/chunk.Z7JDZDUA.js +545 -0
- package/cdn/chunks/chunk.ZDSLEDNT.js +19 -0
- package/cdn/chunks/chunk.ZJCOHF3E.js +19 -0
- package/cdn/chunks/chunk.ZK7FRBFD.js +39 -0
- package/cdn/chunks/chunk.ZSUWMTM2.js +19 -0
- package/cdn/chunks/chunk.ZUKS3ZCP.js +264 -0
- package/cdn/components/accordion/accordion.component.js +5 -5
- package/cdn/components/accordion/accordion.js +6 -6
- package/cdn/components/alert/alert.component.js +3 -3
- package/cdn/components/alert/alert.js +4 -4
- package/cdn/components/avatar/avatar.component.js +7 -7
- package/cdn/components/avatar/avatar.js +8 -8
- package/cdn/components/badge/badge.component.js +2 -2
- package/cdn/components/badge/badge.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.component.js +2 -2
- package/cdn/components/breadcrumb/breadcrumb.js +3 -3
- package/cdn/components/breadcrumbs/breadcrumbs.component.js +2 -2
- package/cdn/components/breadcrumbs/breadcrumbs.js +3 -3
- package/cdn/components/browse-variables/browse-variables.component.js +17 -17
- package/cdn/components/browse-variables/browse-variables.js +18 -18
- package/cdn/components/button/button.component.js +7 -7
- package/cdn/components/button/button.js +8 -8
- package/cdn/components/button-group/button-group.component.js +2 -2
- package/cdn/components/button-group/button-group.js +3 -3
- package/cdn/components/caption/caption.component.js +2 -2
- package/cdn/components/caption/caption.js +3 -3
- package/cdn/components/card/card.component.js +2 -2
- package/cdn/components/card/card.js +3 -3
- package/cdn/components/checkbox/checkbox.component.js +8 -8
- package/cdn/components/checkbox/checkbox.js +9 -9
- package/cdn/components/chip/chip.component.js +2 -2
- package/cdn/components/chip/chip.js +3 -3
- package/cdn/components/combobox/combobox.component.js +6 -6
- package/cdn/components/combobox/combobox.js +7 -7
- package/cdn/components/data-access/data-access.component.js +29 -29
- package/cdn/components/data-access/data-access.js +30 -30
- package/cdn/components/data-grid/data-grid.component.js +5 -5
- package/cdn/components/data-grid/data-grid.js +6 -6
- package/cdn/components/data-rods/data-rods.component.js +38 -38
- package/cdn/components/data-rods/data-rods.js +39 -39
- package/cdn/components/data-subsetter/data-subsetter.component.js +40 -40
- package/cdn/components/data-subsetter/data-subsetter.js +41 -41
- package/cdn/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
- package/cdn/components/data-subsetter-history/data-subsetter-history.component.js +41 -41
- package/cdn/components/data-subsetter-history/data-subsetter-history.js +42 -42
- package/cdn/components/date-picker/date-picker.component.js +14 -14
- package/cdn/components/date-picker/date-picker.js +15 -15
- package/cdn/components/date-range-slider/date-range-slider.component.js +2 -2
- package/cdn/components/date-range-slider/date-range-slider.js +3 -3
- package/cdn/components/dialog/dialog.component.js +9 -9
- package/cdn/components/dialog/dialog.js +10 -10
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/dropdown/dropdown.component.js +3 -3
- package/cdn/components/dropdown/dropdown.js +4 -4
- package/cdn/components/earthdata-login/earthdata-login.component.js +15 -15
- package/cdn/components/earthdata-login/earthdata-login.js +16 -16
- package/cdn/components/file-upload/file-upload.component.js +2 -2
- package/cdn/components/file-upload/file-upload.js +3 -3
- package/cdn/components/harmony-history/harmony-history.component.js +13 -13
- package/cdn/components/harmony-history/harmony-history.js +14 -14
- package/cdn/components/icon/icon.component.js +3 -3
- package/cdn/components/icon/icon.js +4 -4
- package/cdn/components/input/input.component.js +8 -8
- package/cdn/components/input/input.js +9 -9
- package/cdn/components/loader/loader.component.js +2 -2
- package/cdn/components/loader/loader.js +3 -3
- package/cdn/components/login/login.component.js +12 -12
- package/cdn/components/login/login.js +13 -13
- package/cdn/components/map/map.component.js +4 -4
- package/cdn/components/map/map.js +5 -5
- package/cdn/components/menu/menu.component.js +2 -2
- package/cdn/components/menu/menu.js +3 -3
- package/cdn/components/menu-item/menu-item.component.js +11 -11
- package/cdn/components/menu-item/menu-item.js +12 -12
- package/cdn/components/menu-item/submenu-controller.js +3 -3
- package/cdn/components/option/option.component.js +6 -6
- package/cdn/components/option/option.js +7 -7
- package/cdn/components/pagination/pagination.component.js +6 -6
- package/cdn/components/pagination/pagination.js +7 -7
- package/cdn/components/plot/plot.component.js +2 -2
- package/cdn/components/plot/plot.js +3 -3
- package/cdn/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
- package/cdn/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
- package/cdn/components/plot-toolbar/plot-toolbar.component.js +12 -12
- package/cdn/components/plot-toolbar/plot-toolbar.js +13 -13
- package/cdn/components/popup/popup.component.js +2 -2
- package/cdn/components/popup/popup.js +3 -3
- package/cdn/components/progress-bar/progress-bar.component.js +2 -2
- package/cdn/components/progress-bar/progress-bar.js +3 -3
- package/cdn/components/radio/radio.component.js +4 -4
- package/cdn/components/radio/radio.js +5 -5
- package/cdn/components/radio-group/radio-group.component.js +2 -2
- package/cdn/components/radio-group/radio-group.js +3 -3
- package/cdn/components/scroll-hint/scroll-hint.component.js +4 -4
- package/cdn/components/scroll-hint/scroll-hint.js +5 -5
- package/cdn/components/select/select.component.js +10 -10
- package/cdn/components/select/select.js +11 -11
- package/cdn/components/site-header/site-header.component.js +5 -5
- package/cdn/components/site-header/site-header.js +5 -5
- package/cdn/components/site-navigation/site-navigation.component.js +2 -2
- package/cdn/components/site-navigation/site-navigation.js +2 -2
- package/cdn/components/skeleton/skeleton.component.js +2 -2
- package/cdn/components/skeleton/skeleton.js +3 -3
- package/cdn/components/slider/slider.component.js +2 -2
- package/cdn/components/slider/slider.js +3 -3
- package/cdn/components/spatial-picker/spatial-picker.component.js +15 -15
- package/cdn/components/spatial-picker/spatial-picker.js +16 -16
- package/cdn/components/status-indicator/status-indicator.component.js +2 -2
- package/cdn/components/status-indicator/status-indicator.js +3 -3
- package/cdn/components/stepper/stepper.component.js +2 -2
- package/cdn/components/stepper/stepper.js +3 -3
- package/cdn/components/stepper-step/stepper-step.component.js +6 -6
- package/cdn/components/stepper-step/stepper-step.js +7 -7
- package/cdn/components/tab/tab.component.js +6 -6
- package/cdn/components/tab/tab.js +7 -7
- package/cdn/components/tab-panel/tab-panel.component.js +2 -2
- package/cdn/components/tab-panel/tab-panel.js +3 -3
- package/cdn/components/tabs/tabs.component.js +6 -6
- package/cdn/components/tabs/tabs.js +7 -7
- package/cdn/components/tag/tag.component.js +6 -6
- package/cdn/components/tag/tag.js +7 -7
- package/cdn/components/textarea/textarea.component.js +4 -4
- package/cdn/components/textarea/textarea.js +5 -5
- package/cdn/components/time-average-map/time-average-map.component.d.ts +7 -4
- package/cdn/components/time-average-map/time-average-map.component.js +24 -24
- package/cdn/components/time-average-map/time-average-map.controller.js +5 -5
- package/cdn/components/time-average-map/time-average-map.js +25 -25
- package/cdn/components/time-series/time-series.component.d.ts +7 -4
- package/cdn/components/time-series/time-series.component.js +24 -24
- package/cdn/components/time-series/time-series.controller.js +5 -5
- package/cdn/components/time-series/time-series.js +25 -25
- package/cdn/components/toast/toast.component.js +4 -4
- package/cdn/components/toast/toast.js +5 -5
- package/cdn/components/toggle/toggle.component.js +4 -4
- package/cdn/components/toggle/toggle.js +5 -5
- package/cdn/components/tooltip/tooltip.component.js +3 -3
- package/cdn/components/tooltip/tooltip.js +4 -4
- package/cdn/components/variable-combobox/lib.js +3 -3
- package/cdn/components/variable-combobox/variable-combobox.component.js +15 -15
- package/cdn/components/variable-combobox/variable-combobox.controller.js +4 -4
- package/cdn/components/variable-combobox/variable-combobox.js +16 -16
- package/cdn/components/variable-keyword-search/variable-keyword-search.component.js +11 -11
- package/cdn/components/variable-keyword-search/variable-keyword-search.js +12 -12
- package/cdn/custom-elements.json +181 -147
- package/cdn/react/accordion/index.js +6 -6
- package/cdn/react/alert/index.js +4 -4
- package/cdn/react/avatar/index.js +8 -8
- package/cdn/react/badge/index.js +3 -3
- package/cdn/react/breadcrumb/index.js +3 -3
- package/cdn/react/breadcrumbs/index.js +3 -3
- package/cdn/react/browse-variables/index.js +18 -18
- package/cdn/react/button/index.js +8 -8
- package/cdn/react/button-group/index.js +3 -3
- package/cdn/react/caption/index.js +3 -3
- package/cdn/react/card/index.js +3 -3
- package/cdn/react/checkbox/index.js +9 -9
- package/cdn/react/chip/index.js +3 -3
- package/cdn/react/combobox/index.js +7 -7
- package/cdn/react/data-access/index.js +30 -30
- package/cdn/react/data-grid/index.js +6 -6
- package/cdn/react/data-rods/index.js +39 -39
- package/cdn/react/data-subsetter/index.js +41 -41
- package/cdn/react/data-subsetter-history/index.js +42 -42
- package/cdn/react/date-picker/index.js +15 -15
- package/cdn/react/date-range-slider/index.js +3 -3
- package/cdn/react/dialog/index.js +10 -10
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/dropdown/index.js +4 -4
- package/cdn/react/earthdata-login/index.js +16 -16
- package/cdn/react/file-upload/index.js +3 -3
- package/cdn/react/harmony-history/index.js +14 -14
- package/cdn/react/icon/index.js +4 -4
- package/cdn/react/index.d.ts +1 -1
- package/cdn/react/index.js +158 -158
- package/cdn/react/input/index.js +9 -9
- package/cdn/react/loader/index.js +3 -3
- package/cdn/react/login/index.js +13 -13
- package/cdn/react/map/index.js +5 -5
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.js +12 -12
- package/cdn/react/option/index.js +7 -7
- package/cdn/react/pagination/index.js +7 -7
- package/cdn/react/plot/index.js +3 -3
- package/cdn/react/plot-toolbar/index.js +13 -13
- package/cdn/react/popup/index.js +3 -3
- package/cdn/react/progress-bar/index.js +3 -3
- package/cdn/react/radio/index.js +5 -5
- package/cdn/react/radio-group/index.js +3 -3
- package/cdn/react/scroll-hint/index.js +5 -5
- package/cdn/react/select/index.js +11 -11
- package/cdn/react/site-header/index.js +6 -6
- package/cdn/react/site-navigation/index.js +3 -3
- package/cdn/react/skeleton/index.js +3 -3
- package/cdn/react/slider/index.js +3 -3
- package/cdn/react/spatial-picker/index.js +16 -16
- package/cdn/react/status-indicator/index.js +3 -3
- package/cdn/react/stepper/index.js +3 -3
- package/cdn/react/stepper-step/index.js +7 -7
- package/cdn/react/tab/index.js +7 -7
- package/cdn/react/tab-panel/index.js +3 -3
- package/cdn/react/tabs/index.js +7 -7
- package/cdn/react/tag/index.js +7 -7
- package/cdn/react/textarea/index.js +5 -5
- package/cdn/react/time-average-map/index.js +25 -25
- package/cdn/react/time-series/index.js +25 -25
- package/cdn/react/toast/index.js +5 -5
- package/cdn/react/toggle/index.js +5 -5
- package/cdn/react/tooltip/index.js +4 -4
- package/cdn/react/variable-combobox/index.js +16 -16
- package/cdn/react/variable-keyword-search/index.js +12 -12
- package/cdn/terra-ui-components.js +154 -154
- package/cdn/types/vue/index.d.ts +60 -58
- package/cdn/types.d.ts +3 -1
- package/cdn/vscode.html-custom-data.json +37 -27
- package/cdn/web-types.json +138 -118
- package/dist/chunks/chunk.23DS2WII.js +8 -0
- package/dist/chunks/chunk.24ALKEJM.js +1 -0
- package/dist/chunks/chunk.27IBME5U.js +37 -0
- package/dist/chunks/chunk.2P5R6TAG.js +1 -0
- package/dist/chunks/chunk.3ABKW5DL.js +1 -0
- package/dist/chunks/chunk.46IGCOVD.js +48 -0
- package/dist/chunks/chunk.4NTVLFWO.js +35 -0
- package/dist/chunks/chunk.4WGVGUBR.js +1 -0
- package/dist/chunks/chunk.4WN4C3S4.js +1 -0
- package/dist/chunks/chunk.53V76LYH.js +1 -0
- package/dist/chunks/chunk.5AVYJE4U.js +1 -0
- package/dist/chunks/chunk.5CTAJEZY.js +1 -0
- package/dist/chunks/chunk.5PDIN7I4.js +1 -0
- package/dist/chunks/chunk.5VJAVGEU.js +154 -0
- package/dist/chunks/chunk.634CBAPU.js +1 -0
- package/dist/chunks/chunk.6FDO44Z3.js +1 -0
- package/dist/chunks/chunk.6G7IPOCW.js +1 -0
- package/dist/chunks/chunk.6HA6XH7C.js +9 -0
- package/dist/chunks/chunk.74FHHVUZ.js +1 -0
- package/dist/chunks/chunk.74ZZ57AF.js +1 -0
- package/dist/chunks/chunk.76UCSSKX.js +1 -0
- package/dist/chunks/chunk.7CAFYUNX.js +1 -0
- package/dist/chunks/chunk.7GV7AIYV.js +47 -0
- package/dist/chunks/chunk.7HWBXYXE.js +1 -0
- package/dist/chunks/chunk.7LKXOICV.js +1 -0
- package/dist/chunks/chunk.7WJ6XSZF.js +1 -0
- package/dist/chunks/chunk.7ZVB423E.js +122 -0
- package/dist/chunks/chunk.A32KUQWA.js +749 -0
- package/dist/chunks/chunk.A4H3YMO3.js +62 -0
- package/dist/chunks/chunk.AJZS4JZO.js +30 -0
- package/dist/chunks/chunk.AMOS6YAE.js +1 -0
- package/dist/chunks/chunk.AOEQXP6W.js +1 -0
- package/dist/chunks/chunk.ATSB4SJF.js +38 -0
- package/dist/chunks/chunk.B2UKJJJB.js +2 -0
- package/dist/chunks/chunk.B4OHYZ4N.js +33 -0
- package/dist/chunks/chunk.BAYXEED7.js +1 -0
- package/dist/chunks/chunk.BCPTBPIB.js +1 -0
- package/dist/chunks/chunk.BDVBIZGM.js +1 -0
- package/dist/chunks/chunk.BN3HA5DT.js +1 -0
- package/dist/chunks/chunk.BXVR2WED.js +67 -0
- package/dist/chunks/chunk.BY4YZAK6.js +23 -0
- package/dist/chunks/chunk.C2Z2P4HZ.js +1 -0
- package/dist/chunks/chunk.C55HYBAZ.js +26 -0
- package/dist/chunks/chunk.D4PZJQYJ.js +1 -0
- package/dist/chunks/chunk.D5RQQJXT.js +1 -0
- package/dist/chunks/chunk.D7LFTNNG.js +1 -0
- package/dist/chunks/chunk.DBWEWDYZ.js +1 -0
- package/dist/chunks/chunk.DK2ULUXE.js +1 -0
- package/dist/chunks/chunk.DPZSYKKO.js +55 -0
- package/dist/chunks/chunk.DT2HI2SC.js +1 -0
- package/dist/chunks/chunk.DT67EYYO.js +55 -0
- package/dist/chunks/chunk.E6WN2OCO.js +1 -0
- package/dist/chunks/chunk.E7Y42BCR.js +1 -0
- package/dist/chunks/chunk.EA2VZX2B.js +1 -0
- package/dist/chunks/chunk.EDSRTLPF.js +1 -0
- package/dist/chunks/chunk.EGFMYSDN.js +30 -0
- package/dist/chunks/chunk.EKKGJZD4.js +1 -0
- package/dist/chunks/chunk.ENSE3HDL.js +1 -0
- package/dist/chunks/chunk.EOLCUMIR.js +1 -0
- package/dist/chunks/chunk.EOQI5GWN.js +1 -0
- package/dist/chunks/chunk.EPRWRJVD.js +17 -0
- package/dist/chunks/chunk.EZI3WYMQ.js +25 -0
- package/dist/chunks/chunk.EZI7VJCI.js +1 -0
- package/dist/chunks/chunk.FC47S6WY.js +1 -0
- package/dist/chunks/chunk.FEZWYWLM.js +1 -0
- package/dist/chunks/chunk.FHTH3C2R.js +300 -0
- package/dist/chunks/chunk.FK5RENY4.js +1 -0
- package/dist/chunks/chunk.FTDFDWP6.js +280 -0
- package/dist/chunks/chunk.FYFZQ6TO.js +1 -0
- package/dist/chunks/chunk.FYHPWILT.js +12 -0
- package/dist/chunks/chunk.GBXJ6Y6G.js +1 -0
- package/dist/chunks/chunk.GEITASEB.js +1 -0
- package/dist/chunks/chunk.GJIGMZVE.js +24 -0
- package/dist/chunks/chunk.GKVRFWRM.js +1 -0
- package/dist/chunks/chunk.GQCFK3QR.js +1 -0
- package/dist/chunks/chunk.H6KHMOPS.js +5 -0
- package/dist/chunks/chunk.HA6P2NGF.js +299 -0
- package/dist/chunks/chunk.HFUMQHGI.js +1 -0
- package/dist/chunks/chunk.HTZCZKKZ.js +80 -0
- package/dist/chunks/chunk.HYQQO2HT.js +566 -0
- package/dist/chunks/chunk.I5MK7RZK.js +1 -0
- package/dist/chunks/chunk.I67U3CEK.js +126 -0
- package/dist/chunks/chunk.IDR2GHCI.js +115 -0
- package/dist/chunks/chunk.IJ3MGNHR.js +1 -0
- package/dist/chunks/chunk.IJJUZDZO.js +1 -0
- package/dist/chunks/chunk.INH7NACQ.js +99 -0
- package/dist/chunks/chunk.INRHSO4Q.js +1 -0
- package/dist/chunks/chunk.ISA24DED.js +1 -0
- package/dist/chunks/chunk.J7657JP5.js +1 -0
- package/dist/chunks/chunk.JIO7NUNK.js +1 -0
- package/dist/chunks/chunk.JNAOMADJ.js +140 -0
- package/dist/chunks/chunk.JSQTX5RS.js +1 -0
- package/dist/chunks/chunk.JVBNEQVV.js +1 -0
- package/dist/chunks/chunk.JVS5XANO.js +35 -0
- package/dist/chunks/chunk.JYTVRRPS.js +1 -0
- package/dist/chunks/chunk.K3ACXNPB.js +1 -0
- package/dist/chunks/chunk.K3SRBKJS.js +1 -0
- package/dist/chunks/chunk.KD2ZCOEI.js +1 -0
- package/dist/chunks/chunk.KH7O5HGH.js +11 -0
- package/dist/chunks/chunk.KIL5DLYM.js +1 -0
- package/dist/chunks/chunk.KNHJIYKN.js +1 -0
- package/dist/chunks/chunk.KYDMYH2S.js +1 -0
- package/dist/chunks/chunk.KZLZWLYR.js +19 -0
- package/dist/chunks/chunk.LIFRVKFV.js +1 -0
- package/dist/chunks/chunk.LJDJRQDK.js +1 -0
- package/dist/chunks/chunk.LLHB2HAP.js +1 -0
- package/dist/chunks/chunk.LNPWD2JW.js +1 -0
- package/dist/chunks/chunk.LPG4KFKZ.js +22 -0
- package/dist/chunks/chunk.LWOM3IGI.js +6 -0
- package/dist/chunks/chunk.MMZ52SIS.js +1 -0
- package/dist/chunks/chunk.MOGSKCAN.js +1 -0
- package/dist/chunks/chunk.NB37Y7RZ.js +1 -0
- package/dist/chunks/chunk.NCCHFKQN.js +1 -0
- package/dist/chunks/chunk.NHDBBD6S.js +50 -0
- package/dist/chunks/chunk.NNXNQL2F.js +1 -0
- package/dist/chunks/chunk.NY6TLTKS.js +16 -0
- package/dist/chunks/chunk.O26K2IOG.js +1 -0
- package/dist/chunks/chunk.O65DGSMU.js +1 -0
- package/dist/chunks/chunk.OG55ZHRT.js +1 -0
- package/dist/chunks/chunk.ONUPX63E.js +1 -0
- package/dist/chunks/chunk.OURKZDLC.js +1 -0
- package/dist/chunks/chunk.PA24APN4.js +157 -0
- package/dist/chunks/chunk.PMLGKBQW.js +1 -0
- package/dist/chunks/chunk.PXL22BB7.js +1 -0
- package/dist/chunks/chunk.PZ6DELPX.js +1 -0
- package/dist/chunks/chunk.Q2FL2A4W.js +1 -0
- package/dist/chunks/chunk.Q2JG3A23.js +1 -0
- package/dist/chunks/chunk.Q6OL5TFP.js +1 -0
- package/dist/chunks/chunk.QFXYQ66J.js +8 -0
- package/dist/chunks/chunk.QHQKO436.js +1 -0
- package/dist/chunks/chunk.QK4ZRWJA.js +1 -0
- package/dist/chunks/chunk.QMFV7RWN.js +65 -0
- package/dist/chunks/chunk.QMLZIOGK.js +1 -0
- package/dist/chunks/chunk.QOKYZOU4.js +1 -0
- package/dist/chunks/chunk.QQB2E56V.js +1 -0
- package/dist/chunks/chunk.QTP64RAB.js +145 -0
- package/dist/chunks/chunk.QVD2R5SK.js +14 -0
- package/dist/chunks/chunk.QYIGKD2N.js +37 -0
- package/dist/chunks/chunk.R6CNKG4J.js +1 -0
- package/dist/chunks/chunk.R75DWQV5.js +1 -0
- package/dist/chunks/chunk.RCHY4HGL.js +11 -0
- package/dist/chunks/chunk.RQCYBIOC.js +1 -0
- package/dist/chunks/chunk.RTOHFMWB.js +1 -0
- package/dist/chunks/chunk.RXQXGNNY.js +74 -0
- package/dist/chunks/chunk.S4FREG7O.js +1 -0
- package/dist/chunks/chunk.SAR7A72P.js +100 -0
- package/dist/chunks/chunk.SDQRX3Y5.js +1 -0
- package/dist/chunks/chunk.SFCTQLIF.js +1 -0
- package/dist/chunks/chunk.SS4WJ3QU.js +1 -0
- package/dist/chunks/chunk.SSDPL2EK.js +1 -0
- package/dist/chunks/chunk.T6PCO7JN.js +9 -0
- package/dist/chunks/chunk.TCQ4NKER.js +5 -0
- package/dist/chunks/chunk.TG2OAF4H.js +1 -0
- package/dist/chunks/chunk.TLJFCIBQ.js +20 -0
- package/dist/chunks/chunk.TWEOK6VS.js +1 -0
- package/dist/chunks/chunk.TXXPV74J.js +1 -0
- package/dist/chunks/chunk.U2GEMG42.js +75 -0
- package/dist/chunks/chunk.U6FLUCI3.js +26 -0
- package/dist/chunks/chunk.U7SLVXQU.js +101 -0
- package/dist/chunks/chunk.UCPLPMKQ.js +39 -0
- package/dist/chunks/chunk.UEDIC4JS.js +1 -0
- package/dist/chunks/chunk.UHGWIQPX.js +1 -0
- package/dist/chunks/chunk.UNG3INRY.js +1 -0
- package/dist/chunks/chunk.USR7A3NZ.js +1 -0
- package/dist/chunks/chunk.UYIE7KUU.js +1 -0
- package/dist/chunks/chunk.V3OUHNUZ.js +20 -0
- package/dist/chunks/chunk.V72FWYPC.js +1 -0
- package/dist/chunks/chunk.VB5RETOW.js +1 -0
- package/dist/chunks/chunk.VHXDTTIE.js +1 -0
- package/dist/chunks/chunk.VKQZGZGY.js +1 -0
- package/dist/chunks/chunk.VMAZM4R7.js +1 -0
- package/dist/chunks/chunk.VMTTGHBS.js +1 -0
- package/dist/chunks/chunk.VV4EKOW5.js +55 -0
- package/dist/chunks/chunk.VVVT3I4X.js +4 -0
- package/dist/chunks/chunk.W67DVHGA.js +1 -0
- package/dist/chunks/chunk.WAV4ZVDA.js +1 -0
- package/dist/chunks/chunk.WBBJTBBH.js +1 -0
- package/dist/chunks/chunk.WKCVHPJA.js +1 -0
- package/dist/chunks/chunk.WNF6C33T.js +1 -0
- package/dist/chunks/chunk.WX4CKO7K.js +1 -0
- package/dist/chunks/chunk.WZK3QAM3.js +1 -0
- package/dist/chunks/chunk.XIHTKMYV.js +121 -0
- package/dist/chunks/chunk.YBAVJC4E.js +43 -0
- package/dist/chunks/chunk.YBBNCQST.js +1 -0
- package/dist/chunks/chunk.YBQKGN4M.js +1 -0
- package/dist/chunks/chunk.YGKYURTA.js +1 -0
- package/dist/chunks/chunk.YJO5RZSX.js +43 -0
- package/dist/chunks/chunk.YMIN3REJ.js +1 -0
- package/dist/chunks/chunk.YMY3NKIZ.js +1 -0
- package/dist/chunks/chunk.YU2YLT7T.js +1 -0
- package/dist/chunks/chunk.Z5EIIROL.js +1 -0
- package/dist/chunks/chunk.ZEO6JXTC.js +1157 -0
- package/dist/chunks/chunk.ZITJWLSW.js +1 -0
- package/dist/chunks/chunk.ZOHC6BBR.js +1 -0
- package/dist/chunks/chunk.ZOKCDALS.js +1 -0
- package/dist/chunks/chunk.ZSHMPLTS.js +1 -0
- package/dist/chunks/chunk.ZSYJOWCL.js +1 -0
- package/dist/chunks/chunk.ZTNF5J46.js +64 -0
- package/dist/chunks/chunk.ZXGY5CAR.js +1 -0
- package/dist/chunks/chunk.ZXJ7J7TY.js +1 -0
- package/dist/components/accordion/accordion.component.js +1 -1
- package/dist/components/accordion/accordion.js +1 -1
- package/dist/components/alert/alert.component.js +1 -1
- package/dist/components/alert/alert.js +1 -1
- package/dist/components/avatar/avatar.component.js +1 -1
- package/dist/components/avatar/avatar.js +1 -1
- package/dist/components/badge/badge.component.js +1 -1
- package/dist/components/badge/badge.js +1 -1
- package/dist/components/breadcrumb/breadcrumb.component.js +1 -1
- package/dist/components/breadcrumb/breadcrumb.js +1 -1
- package/dist/components/breadcrumbs/breadcrumbs.component.js +1 -1
- package/dist/components/breadcrumbs/breadcrumbs.js +1 -1
- package/dist/components/browse-variables/browse-variables.component.js +1 -1
- package/dist/components/browse-variables/browse-variables.js +1 -1
- package/dist/components/button/button.component.js +1 -1
- package/dist/components/button/button.js +1 -1
- package/dist/components/button-group/button-group.component.js +1 -1
- package/dist/components/button-group/button-group.js +1 -1
- package/dist/components/caption/caption.component.js +1 -1
- package/dist/components/caption/caption.js +1 -1
- package/dist/components/card/card.component.js +1 -1
- package/dist/components/card/card.js +1 -1
- package/dist/components/checkbox/checkbox.component.js +1 -1
- package/dist/components/checkbox/checkbox.js +1 -1
- package/dist/components/chip/chip.component.js +1 -1
- package/dist/components/chip/chip.js +1 -1
- package/dist/components/combobox/combobox.component.js +1 -1
- package/dist/components/combobox/combobox.js +1 -1
- package/dist/components/data-access/data-access.component.js +1 -1
- package/dist/components/data-access/data-access.js +1 -1
- package/dist/components/data-grid/data-grid.component.js +1 -1
- package/dist/components/data-grid/data-grid.js +1 -1
- package/dist/components/data-rods/data-rods.component.js +1 -1
- package/dist/components/data-rods/data-rods.js +1 -1
- package/dist/components/data-subsetter/data-subsetter.component.js +1 -1
- package/dist/components/data-subsetter/data-subsetter.js +1 -1
- package/dist/components/data-subsetter/notebooks/subsetter-notebook.js +1 -1
- package/dist/components/data-subsetter-history/data-subsetter-history.component.js +1 -1
- package/dist/components/data-subsetter-history/data-subsetter-history.js +1 -1
- package/dist/components/date-picker/date-picker.component.js +1 -1
- package/dist/components/date-picker/date-picker.js +1 -1
- package/dist/components/date-range-slider/date-range-slider.component.js +1 -1
- package/dist/components/date-range-slider/date-range-slider.js +1 -1
- package/dist/components/dialog/dialog.component.js +1 -1
- package/dist/components/dialog/dialog.js +1 -1
- package/dist/components/divider/divider.component.js +1 -1
- package/dist/components/divider/divider.js +1 -1
- package/dist/components/dropdown/dropdown.component.js +1 -1
- package/dist/components/dropdown/dropdown.js +1 -1
- package/dist/components/earthdata-login/earthdata-login.component.js +1 -1
- package/dist/components/earthdata-login/earthdata-login.js +1 -1
- package/dist/components/file-upload/file-upload.component.js +1 -1
- package/dist/components/file-upload/file-upload.js +1 -1
- package/dist/components/harmony-history/harmony-history.component.js +1 -1
- package/dist/components/harmony-history/harmony-history.js +1 -1
- package/dist/components/icon/icon.component.js +1 -1
- package/dist/components/icon/icon.js +1 -1
- package/dist/components/input/input.component.js +1 -1
- package/dist/components/input/input.js +1 -1
- package/dist/components/loader/loader.component.js +1 -1
- package/dist/components/loader/loader.js +1 -1
- package/dist/components/login/login.component.js +1 -1
- package/dist/components/login/login.js +1 -1
- package/dist/components/map/map.component.js +1 -1
- package/dist/components/map/map.js +1 -1
- package/dist/components/menu/menu.component.js +1 -1
- package/dist/components/menu/menu.js +1 -1
- package/dist/components/menu-item/menu-item.component.js +1 -1
- package/dist/components/menu-item/menu-item.js +1 -1
- package/dist/components/option/option.component.js +1 -1
- package/dist/components/option/option.js +1 -1
- package/dist/components/pagination/pagination.component.js +1 -1
- package/dist/components/pagination/pagination.js +1 -1
- package/dist/components/plot/plot.component.js +1 -1
- package/dist/components/plot/plot.js +1 -1
- package/dist/components/plot-toolbar/notebooks/time-averaged-map-notebook.js +1 -1
- package/dist/components/plot-toolbar/notebooks/time-series-notebook.js +1 -1
- package/dist/components/plot-toolbar/plot-toolbar.component.js +1 -1
- package/dist/components/plot-toolbar/plot-toolbar.js +1 -1
- package/dist/components/popup/popup.component.js +1 -1
- package/dist/components/popup/popup.js +1 -1
- package/dist/components/progress-bar/progress-bar.component.js +1 -1
- package/dist/components/progress-bar/progress-bar.js +1 -1
- package/dist/components/radio/radio.component.js +1 -1
- package/dist/components/radio/radio.js +1 -1
- package/dist/components/radio-group/radio-group.component.js +1 -1
- package/dist/components/radio-group/radio-group.js +1 -1
- package/dist/components/scroll-hint/scroll-hint.component.js +1 -1
- package/dist/components/scroll-hint/scroll-hint.js +1 -1
- package/dist/components/select/select.component.js +1 -1
- package/dist/components/select/select.js +1 -1
- package/dist/components/site-header/site-header.component.js +1 -1
- package/dist/components/site-header/site-header.js +1 -1
- package/dist/components/site-navigation/site-navigation.component.js +1 -1
- package/dist/components/site-navigation/site-navigation.js +1 -1
- package/dist/components/skeleton/skeleton.component.js +1 -1
- package/dist/components/skeleton/skeleton.js +1 -1
- package/dist/components/slider/slider.component.js +1 -1
- package/dist/components/slider/slider.js +1 -1
- package/dist/components/spatial-picker/spatial-picker.component.js +1 -1
- package/dist/components/spatial-picker/spatial-picker.js +1 -1
- package/dist/components/status-indicator/status-indicator.component.js +1 -1
- package/dist/components/status-indicator/status-indicator.js +1 -1
- package/dist/components/stepper/stepper.component.js +1 -1
- package/dist/components/stepper/stepper.js +1 -1
- package/dist/components/stepper-step/stepper-step.component.js +1 -1
- package/dist/components/stepper-step/stepper-step.js +1 -1
- package/dist/components/tab/tab.component.js +1 -1
- package/dist/components/tab/tab.js +1 -1
- package/dist/components/tab-panel/tab-panel.component.js +1 -1
- package/dist/components/tab-panel/tab-panel.js +1 -1
- package/dist/components/tabs/tabs.component.js +1 -1
- package/dist/components/tabs/tabs.js +1 -1
- package/dist/components/tag/tag.component.js +1 -1
- package/dist/components/tag/tag.js +1 -1
- package/dist/components/textarea/textarea.component.js +1 -1
- package/dist/components/textarea/textarea.js +1 -1
- package/dist/components/time-average-map/time-average-map.component.d.ts +7 -4
- package/dist/components/time-average-map/time-average-map.component.js +1 -1
- package/dist/components/time-average-map/time-average-map.controller.js +1 -1
- package/dist/components/time-average-map/time-average-map.js +1 -1
- package/dist/components/time-series/time-series.component.d.ts +7 -4
- package/dist/components/time-series/time-series.component.js +1 -1
- package/dist/components/time-series/time-series.controller.js +1 -1
- package/dist/components/time-series/time-series.js +1 -1
- package/dist/components/toast/toast.component.js +1 -1
- package/dist/components/toast/toast.js +1 -1
- package/dist/components/toggle/toggle.component.js +1 -1
- package/dist/components/toggle/toggle.js +1 -1
- package/dist/components/tooltip/tooltip.component.js +1 -1
- package/dist/components/tooltip/tooltip.js +1 -1
- package/dist/components/variable-combobox/variable-combobox.component.js +1 -1
- package/dist/components/variable-combobox/variable-combobox.js +1 -1
- package/dist/components/variable-keyword-search/variable-keyword-search.component.js +1 -1
- package/dist/components/variable-keyword-search/variable-keyword-search.js +1 -1
- package/dist/custom-elements.json +181 -147
- package/dist/react/accordion/index.js +1 -1
- package/dist/react/alert/index.js +1 -1
- package/dist/react/avatar/index.js +1 -1
- package/dist/react/badge/index.js +1 -1
- package/dist/react/breadcrumb/index.js +1 -1
- package/dist/react/breadcrumbs/index.js +1 -1
- package/dist/react/browse-variables/index.js +1 -1
- package/dist/react/button/index.js +1 -1
- package/dist/react/button-group/index.js +1 -1
- package/dist/react/caption/index.js +1 -1
- package/dist/react/card/index.js +1 -1
- package/dist/react/checkbox/index.js +1 -1
- package/dist/react/chip/index.js +1 -1
- package/dist/react/combobox/index.js +1 -1
- package/dist/react/data-access/index.js +1 -1
- package/dist/react/data-grid/index.js +1 -1
- package/dist/react/data-rods/index.js +1 -1
- package/dist/react/data-subsetter/index.js +1 -1
- package/dist/react/data-subsetter-history/index.js +1 -1
- package/dist/react/date-picker/index.js +1 -1
- package/dist/react/date-range-slider/index.js +1 -1
- package/dist/react/dialog/index.js +1 -1
- package/dist/react/divider/index.js +1 -1
- package/dist/react/dropdown/index.js +1 -1
- package/dist/react/earthdata-login/index.js +1 -1
- package/dist/react/file-upload/index.js +1 -1
- package/dist/react/harmony-history/index.js +1 -1
- package/dist/react/icon/index.js +1 -1
- package/dist/react/index.d.ts +1 -1
- package/dist/react/index.js +1 -1
- package/dist/react/input/index.js +1 -1
- package/dist/react/loader/index.js +1 -1
- package/dist/react/login/index.js +1 -1
- package/dist/react/map/index.js +1 -1
- package/dist/react/menu/index.js +1 -1
- package/dist/react/menu-item/index.js +1 -1
- package/dist/react/option/index.js +1 -1
- package/dist/react/pagination/index.js +1 -1
- package/dist/react/plot/index.js +1 -1
- package/dist/react/plot-toolbar/index.js +1 -1
- package/dist/react/popup/index.js +1 -1
- package/dist/react/progress-bar/index.js +1 -1
- package/dist/react/radio/index.js +1 -1
- package/dist/react/radio-group/index.js +1 -1
- package/dist/react/scroll-hint/index.js +1 -1
- package/dist/react/select/index.js +1 -1
- package/dist/react/site-header/index.js +1 -1
- package/dist/react/site-navigation/index.js +1 -1
- package/dist/react/skeleton/index.js +1 -1
- package/dist/react/slider/index.js +1 -1
- package/dist/react/spatial-picker/index.js +1 -1
- package/dist/react/status-indicator/index.js +1 -1
- package/dist/react/stepper/index.js +1 -1
- package/dist/react/stepper-step/index.js +1 -1
- package/dist/react/tab/index.js +1 -1
- package/dist/react/tab-panel/index.js +1 -1
- package/dist/react/tabs/index.js +1 -1
- package/dist/react/tag/index.js +1 -1
- package/dist/react/textarea/index.js +1 -1
- package/dist/react/time-average-map/index.js +1 -1
- package/dist/react/time-series/index.js +1 -1
- package/dist/react/toast/index.js +1 -1
- package/dist/react/toggle/index.js +1 -1
- package/dist/react/tooltip/index.js +1 -1
- package/dist/react/variable-combobox/index.js +1 -1
- package/dist/react/variable-keyword-search/index.js +1 -1
- package/dist/terra-ui-components.js +1 -1
- package/dist/terra_ui_components-0.0.183-py3-none-any.whl +0 -0
- package/dist/terra_ui_components-0.0.183.tar.gz +0 -0
- package/dist/types/vue/index.d.ts +60 -58
- package/dist/types.d.ts +3 -1
- package/dist/vscode.html-custom-data.json +37 -27
- package/dist/web-types.json +138 -118
- package/package.json +1 -1
- package/cdn/chunks/chunk.27H6Y66N.js +0 -19
- package/cdn/chunks/chunk.2JCGLAAZ.js +0 -19
- package/cdn/chunks/chunk.2NDZGMG2.js +0 -33
- package/cdn/chunks/chunk.2YBP736T.js +0 -161
- package/cdn/chunks/chunk.3465UHBW.js +0 -125
- package/cdn/chunks/chunk.3E3PL47L.js +0 -19
- package/cdn/chunks/chunk.3RT5OMRR.js +0 -19
- package/cdn/chunks/chunk.3S6TXNYN.js +0 -357
- package/cdn/chunks/chunk.3TNPXGSN.js +0 -29
- package/cdn/chunks/chunk.3U3QMVU3.js +0 -35
- package/cdn/chunks/chunk.3XHMRHX4.js +0 -19
- package/cdn/chunks/chunk.45J3MZ3A.js +0 -205
- package/cdn/chunks/chunk.4A2AWXGY.js +0 -29
- package/cdn/chunks/chunk.4CRAZGX7.js +0 -19
- package/cdn/chunks/chunk.4EHEYIXJ.js +0 -29
- package/cdn/chunks/chunk.4JH2XUDX.js +0 -32
- package/cdn/chunks/chunk.4M4OKGDE.js +0 -19
- package/cdn/chunks/chunk.4TR3C3XT.js +0 -19
- package/cdn/chunks/chunk.4YHMBW3P.js +0 -188
- package/cdn/chunks/chunk.4YNI6KD4.js +0 -19
- package/cdn/chunks/chunk.53SX2HQI.js +0 -30
- package/cdn/chunks/chunk.54XCTTO5.js +0 -19
- package/cdn/chunks/chunk.56MUPGEK.js +0 -32
- package/cdn/chunks/chunk.5EAUYTIJ.js +0 -19
- package/cdn/chunks/chunk.5I3VER3F.js +0 -19
- package/cdn/chunks/chunk.5KYNNL32.js +0 -32
- package/cdn/chunks/chunk.5MIFCXBI.js +0 -29
- package/cdn/chunks/chunk.62ZIBC6B.js +0 -19
- package/cdn/chunks/chunk.653O7V4M.js +0 -599
- package/cdn/chunks/chunk.67TYJBGE.js +0 -19
- package/cdn/chunks/chunk.6CQFWVR6.js +0 -29
- package/cdn/chunks/chunk.6QSUPLGB.js +0 -29
- package/cdn/chunks/chunk.6TITQBN5.js +0 -86
- package/cdn/chunks/chunk.77Y544HC.js +0 -19
- package/cdn/chunks/chunk.7ASKZORP.js +0 -33
- package/cdn/chunks/chunk.7BHCY74I.js +0 -33
- package/cdn/chunks/chunk.7CTLZBMK.js +0 -99
- package/cdn/chunks/chunk.7GWSNU54.js +0 -19
- package/cdn/chunks/chunk.7PYSPYWO.js +0 -19
- package/cdn/chunks/chunk.7QYAG5RH.js +0 -19
- package/cdn/chunks/chunk.7VNZMOKC.js +0 -56075
- package/cdn/chunks/chunk.7YI473J2.js +0 -39
- package/cdn/chunks/chunk.7YXZ4PLT.js +0 -359
- package/cdn/chunks/chunk.7ZVYIV7K.js +0 -662
- package/cdn/chunks/chunk.ACJHUN64.js +0 -19
- package/cdn/chunks/chunk.ACVD4RLC.js +0 -538
- package/cdn/chunks/chunk.AFRV7PHS.js +0 -19
- package/cdn/chunks/chunk.AG3OHBNW.js +0 -32
- package/cdn/chunks/chunk.AMEOWPTV.js +0 -29
- package/cdn/chunks/chunk.AN25EHYN.js +0 -19
- package/cdn/chunks/chunk.APOEQA6N.js +0 -157
- package/cdn/chunks/chunk.AQHIU4QQ.js +0 -19
- package/cdn/chunks/chunk.AW7RGJQF.js +0 -237
- package/cdn/chunks/chunk.AXHE75CH.js +0 -1211
- package/cdn/chunks/chunk.B7OA73S6.js +0 -19
- package/cdn/chunks/chunk.BCQ2ITZO.js +0 -33
- package/cdn/chunks/chunk.BEMRQEFJ.js +0 -29
- package/cdn/chunks/chunk.BEWDP23N.js +0 -29
- package/cdn/chunks/chunk.BVACLOKI.js +0 -110
- package/cdn/chunks/chunk.BYUN5CQ7.js +0 -34
- package/cdn/chunks/chunk.CL66DXQH.js +0 -19
- package/cdn/chunks/chunk.CLOSWCHA.js +0 -279
- package/cdn/chunks/chunk.CMWLAYXG.js +0 -19
- package/cdn/chunks/chunk.CU6Y4S4O.js +0 -134
- package/cdn/chunks/chunk.DCABAUTG.js +0 -29
- package/cdn/chunks/chunk.DCDKEGGF.js +0 -60
- package/cdn/chunks/chunk.DHUO654N.js +0 -19
- package/cdn/chunks/chunk.DHZRFA4Q.js +0 -71
- package/cdn/chunks/chunk.DKR37O6M.js +0 -99
- package/cdn/chunks/chunk.E5INDWJO.js +0 -231
- package/cdn/chunks/chunk.EB57UDHS.js +0 -29
- package/cdn/chunks/chunk.EHXDAY7E.js +0 -29
- package/cdn/chunks/chunk.EJC7WV7R.js +0 -19
- package/cdn/chunks/chunk.EPEVTPDD.js +0 -29
- package/cdn/chunks/chunk.ESBUSULS.js +0 -658
- package/cdn/chunks/chunk.EWQBAXSZ.js +0 -514
- package/cdn/chunks/chunk.EXWRYIIG.js +0 -34
- package/cdn/chunks/chunk.F7RM6CKI.js +0 -19
- package/cdn/chunks/chunk.FEU2ZHGK.js +0 -136
- package/cdn/chunks/chunk.FKESQTK7.js +0 -62
- package/cdn/chunks/chunk.FQW6VWTA.js +0 -29
- package/cdn/chunks/chunk.FVNPWS7L.js +0 -29
- package/cdn/chunks/chunk.FZSG2R6K.js +0 -36
- package/cdn/chunks/chunk.G6UY4GIZ.js +0 -610
- package/cdn/chunks/chunk.GAF2R7BX.js +0 -19
- package/cdn/chunks/chunk.GH3O32TH.js +0 -616
- package/cdn/chunks/chunk.GHQXXUOZ.js +0 -19
- package/cdn/chunks/chunk.GLLNU6QT.js +0 -276
- package/cdn/chunks/chunk.GN5JXOUJ.js +0 -19
- package/cdn/chunks/chunk.GN7JEDN2.js +0 -234
- package/cdn/chunks/chunk.GPPIIBI2.js +0 -19
- package/cdn/chunks/chunk.GU2TJT7Q.js +0 -19
- package/cdn/chunks/chunk.GUW2SGCI.js +0 -493
- package/cdn/chunks/chunk.H64ZXOYB.js +0 -473
- package/cdn/chunks/chunk.HA4DY4XJ.js +0 -35
- package/cdn/chunks/chunk.HARGEVGT.js +0 -36
- package/cdn/chunks/chunk.HO6Z2DWH.js +0 -29
- package/cdn/chunks/chunk.HQYWW5B6.js +0 -32
- package/cdn/chunks/chunk.I6FQTBRX.js +0 -32
- package/cdn/chunks/chunk.IARTVWTE.js +0 -19
- package/cdn/chunks/chunk.IFBDVPXH.js +0 -1975
- package/cdn/chunks/chunk.IFN7JOYQ.js +0 -34
- package/cdn/chunks/chunk.IJMKGIXM.js +0 -224
- package/cdn/chunks/chunk.IKTRYO23.js +0 -29
- package/cdn/chunks/chunk.INTWBGMN.js +0 -92
- package/cdn/chunks/chunk.ISR3MVUO.js +0 -19
- package/cdn/chunks/chunk.ITFVYNFS.js +0 -104
- package/cdn/chunks/chunk.J3JP6ALM.js +0 -1184
- package/cdn/chunks/chunk.J5HCHNS6.js +0 -29
- package/cdn/chunks/chunk.JCDZ72UU.js +0 -29
- package/cdn/chunks/chunk.JLIH4UDK.js +0 -29
- package/cdn/chunks/chunk.JLKIJ7LH.js +0 -113
- package/cdn/chunks/chunk.JSYNLIEX.js +0 -288
- package/cdn/chunks/chunk.JWN5RFZR.js +0 -29
- package/cdn/chunks/chunk.JZEMAEKF.js +0 -542
- package/cdn/chunks/chunk.K4DUOTZR.js +0 -19
- package/cdn/chunks/chunk.K4XDAFMU.js +0 -904
- package/cdn/chunks/chunk.KAO2PZDB.js +0 -975
- package/cdn/chunks/chunk.KIWNTLEB.js +0 -3452
- package/cdn/chunks/chunk.KJ5MDHOB.js +0 -19
- package/cdn/chunks/chunk.KM6WWUYU.js +0 -77
- package/cdn/chunks/chunk.KNFKQMZL.js +0 -37
- package/cdn/chunks/chunk.KPL5WVGQ.js +0 -443
- package/cdn/chunks/chunk.KXIMRSUN.js +0 -49
- package/cdn/chunks/chunk.KXPMQRAG.js +0 -19
- package/cdn/chunks/chunk.L2SHDSJB.js +0 -36
- package/cdn/chunks/chunk.L3PHK56S.js +0 -19
- package/cdn/chunks/chunk.L4UIOAJ6.js +0 -19
- package/cdn/chunks/chunk.L6QGKCD7.js +0 -106
- package/cdn/chunks/chunk.LVROX2ZC.js +0 -32
- package/cdn/chunks/chunk.M5K77MVA.js +0 -19
- package/cdn/chunks/chunk.M65VG5RW.js +0 -472
- package/cdn/chunks/chunk.MG53IOR7.js +0 -123
- package/cdn/chunks/chunk.MZC6KDXV.js +0 -417
- package/cdn/chunks/chunk.MZX3RGLE.js +0 -189
- package/cdn/chunks/chunk.N23A2TLL.js +0 -155
- package/cdn/chunks/chunk.N35W2LNG.js +0 -190
- package/cdn/chunks/chunk.NDP3WIKQ.js +0 -19
- package/cdn/chunks/chunk.O3DIP4UG.js +0 -81
- package/cdn/chunks/chunk.O3REVIRV.js +0 -19
- package/cdn/chunks/chunk.O6EPXMCN.js +0 -32
- package/cdn/chunks/chunk.OE3SG35G.js +0 -372
- package/cdn/chunks/chunk.OH4XSXGH.js +0 -35
- package/cdn/chunks/chunk.OLZPMQEW.js +0 -60
- package/cdn/chunks/chunk.OXV3VH7N.js +0 -264
- package/cdn/chunks/chunk.P6HJOUWE.js +0 -32
- package/cdn/chunks/chunk.PHTZBZS3.js +0 -19
- package/cdn/chunks/chunk.PJUJ4YID.js +0 -29
- package/cdn/chunks/chunk.PXVXOSWN.js +0 -32
- package/cdn/chunks/chunk.PZUVUD4C.js +0 -93
- package/cdn/chunks/chunk.Q6MUWVO4.js +0 -310
- package/cdn/chunks/chunk.Q7SMQGGV.js +0 -32
- package/cdn/chunks/chunk.QCZATBDS.js +0 -19
- package/cdn/chunks/chunk.QMC7DUVJ.js +0 -151
- package/cdn/chunks/chunk.QR25OOSG.js +0 -83
- package/cdn/chunks/chunk.R5WMOIJK.js +0 -19
- package/cdn/chunks/chunk.R7TKEPVG.js +0 -165
- package/cdn/chunks/chunk.RKSUZJZ6.js +0 -68
- package/cdn/chunks/chunk.RQWWWR7J.js +0 -19
- package/cdn/chunks/chunk.RWBA2MGO.js +0 -19
- package/cdn/chunks/chunk.RY5SOLET.js +0 -132
- package/cdn/chunks/chunk.RY7CXQXT.js +0 -36
- package/cdn/chunks/chunk.S3QWAZET.js +0 -230
- package/cdn/chunks/chunk.S7K4YQO5.js +0 -29
- package/cdn/chunks/chunk.SFTDPOR4.js +0 -293
- package/cdn/chunks/chunk.SQFLMSG5.js +0 -37
- package/cdn/chunks/chunk.TDT5Q3JF.js +0 -29
- package/cdn/chunks/chunk.TEOWGCS6.js +0 -259
- package/cdn/chunks/chunk.TKGLHWZN.js +0 -19
- package/cdn/chunks/chunk.TMZ3GMSL.js +0 -134
- package/cdn/chunks/chunk.TOQTKNTX.js +0 -19
- package/cdn/chunks/chunk.UERLDTQZ.js +0 -29
- package/cdn/chunks/chunk.UEUZKV5K.js +0 -32
- package/cdn/chunks/chunk.V4VJ4UT2.js +0 -29
- package/cdn/chunks/chunk.V5DBQVJ5.js +0 -19
- package/cdn/chunks/chunk.V5OO2XEE.js +0 -33
- package/cdn/chunks/chunk.VECOM4X2.js +0 -19
- package/cdn/chunks/chunk.VGXUJ5AG.js +0 -19
- package/cdn/chunks/chunk.VHMUJ6SG.js +0 -2244
- package/cdn/chunks/chunk.VJKPC2DS.js +0 -29
- package/cdn/chunks/chunk.VS4OOTZG.js +0 -524
- package/cdn/chunks/chunk.VUKYQOBK.js +0 -350
- package/cdn/chunks/chunk.W67YDC4P.js +0 -19
- package/cdn/chunks/chunk.W7N4JADB.js +0 -915
- package/cdn/chunks/chunk.WA3LBDSM.js +0 -19
- package/cdn/chunks/chunk.WDQXQ2MJ.js +0 -19
- package/cdn/chunks/chunk.WE35UV4V.js +0 -41
- package/cdn/chunks/chunk.WEO6T7Q7.js +0 -32
- package/cdn/chunks/chunk.WIBZBHVO.js +0 -29
- package/cdn/chunks/chunk.WLINE26F.js +0 -19
- package/cdn/chunks/chunk.WODOIA57.js +0 -278
- package/cdn/chunks/chunk.WUA2GRUX.js +0 -19
- package/cdn/chunks/chunk.WXQGG4OH.js +0 -74
- package/cdn/chunks/chunk.X76BZAG2.js +0 -29
- package/cdn/chunks/chunk.XCZDPAFQ.js +0 -285
- package/cdn/chunks/chunk.XPO6CGIX.js +0 -32
- package/cdn/chunks/chunk.XSBBTQKS.js +0 -19
- package/cdn/chunks/chunk.XUC2AP34.js +0 -47
- package/cdn/chunks/chunk.XUZNRU2A.js +0 -35
- package/cdn/chunks/chunk.XY2BAW25.js +0 -82
- package/cdn/chunks/chunk.Y73I7UWA.js +0 -19
- package/cdn/chunks/chunk.YBQIGWAG.js +0 -2547
- package/cdn/chunks/chunk.YOBKY3PV.js +0 -29
- package/cdn/chunks/chunk.YYHCRDOA.js +0 -93
- package/cdn/chunks/chunk.Z66NGM6N.js +0 -78
- package/cdn/chunks/chunk.ZGM73SI6.js +0 -19
- package/cdn/chunks/chunk.ZIBQ3RIQ.js +0 -477
- package/cdn/chunks/chunk.ZO4JZI7Q.js +0 -19
- package/dist/chunks/chunk.25IJTRN2.js +0 -35
- package/dist/chunks/chunk.26TIQ67V.js +0 -1
- package/dist/chunks/chunk.2QS2GW24.js +0 -1
- package/dist/chunks/chunk.2W4QHF33.js +0 -100
- package/dist/chunks/chunk.35AKYR3R.js +0 -1
- package/dist/chunks/chunk.3A7J6DJT.js +0 -1
- package/dist/chunks/chunk.3AWO3Q45.js +0 -1
- package/dist/chunks/chunk.3IP76OK4.js +0 -1
- package/dist/chunks/chunk.3NZFQPY5.js +0 -1
- package/dist/chunks/chunk.443D6GCI.js +0 -1
- package/dist/chunks/chunk.46MIWFWF.js +0 -121
- package/dist/chunks/chunk.4CPC6T4W.js +0 -23
- package/dist/chunks/chunk.4EI5AQ55.js +0 -47
- package/dist/chunks/chunk.4MF3EOIE.js +0 -1
- package/dist/chunks/chunk.4R54XEI5.js +0 -14
- package/dist/chunks/chunk.52AIVMJA.js +0 -20
- package/dist/chunks/chunk.52DDN5Y5.js +0 -1
- package/dist/chunks/chunk.5AT7REMR.js +0 -1
- package/dist/chunks/chunk.5AYLTPSG.js +0 -55
- package/dist/chunks/chunk.5NVT3NMG.js +0 -1
- package/dist/chunks/chunk.5ZJ22MI2.js +0 -1
- package/dist/chunks/chunk.63XFDLLU.js +0 -22
- package/dist/chunks/chunk.67ZMDEXW.js +0 -1
- package/dist/chunks/chunk.6BU2ZYA2.js +0 -1
- package/dist/chunks/chunk.6C2DLXBV.js +0 -1
- package/dist/chunks/chunk.6DUHY2K7.js +0 -1
- package/dist/chunks/chunk.6RGAOWQL.js +0 -1
- package/dist/chunks/chunk.6XHS36ZS.js +0 -1
- package/dist/chunks/chunk.6YC7NU6R.js +0 -1
- package/dist/chunks/chunk.74OC24MY.js +0 -1
- package/dist/chunks/chunk.76MUDXWL.js +0 -1
- package/dist/chunks/chunk.7M4J27XW.js +0 -9
- package/dist/chunks/chunk.7YKWHD3Q.js +0 -1
- package/dist/chunks/chunk.ADD22LT5.js +0 -1
- package/dist/chunks/chunk.ADOJGUIM.js +0 -1
- package/dist/chunks/chunk.ADRI7S3D.js +0 -1
- package/dist/chunks/chunk.AJTT6ZVS.js +0 -1
- package/dist/chunks/chunk.ALLTKOK5.js +0 -55
- package/dist/chunks/chunk.ALWXS4EN.js +0 -1
- package/dist/chunks/chunk.AOG74ZOR.js +0 -1
- package/dist/chunks/chunk.AXW6QQ5G.js +0 -1
- package/dist/chunks/chunk.BDUWGLTX.js +0 -1
- package/dist/chunks/chunk.BHTVOOL3.js +0 -1
- package/dist/chunks/chunk.BNL5MQSM.js +0 -67
- package/dist/chunks/chunk.BPGBHDOI.js +0 -1
- package/dist/chunks/chunk.BPHQBSYM.js +0 -1
- package/dist/chunks/chunk.BR23Z5K4.js +0 -1
- package/dist/chunks/chunk.BXSXRNLA.js +0 -9
- package/dist/chunks/chunk.CARZD2IC.js +0 -1
- package/dist/chunks/chunk.CMJJA2FU.js +0 -280
- package/dist/chunks/chunk.CNGKS3CF.js +0 -74
- package/dist/chunks/chunk.CSD2H2XD.js +0 -1
- package/dist/chunks/chunk.CWW64TWB.js +0 -1
- package/dist/chunks/chunk.D4AQVUAD.js +0 -1
- package/dist/chunks/chunk.DDT4SEKP.js +0 -1
- package/dist/chunks/chunk.DN2W7CXP.js +0 -25
- package/dist/chunks/chunk.DNECT5E5.js +0 -1
- package/dist/chunks/chunk.DSKRM2DE.js +0 -1
- package/dist/chunks/chunk.E2WOMCTG.js +0 -115
- package/dist/chunks/chunk.E74KOQ6O.js +0 -37
- package/dist/chunks/chunk.EB7RTWHA.js +0 -1
- package/dist/chunks/chunk.EHNN7VF7.js +0 -1
- package/dist/chunks/chunk.EKZ44GOI.js +0 -300
- package/dist/chunks/chunk.EKZZOM3I.js +0 -1
- package/dist/chunks/chunk.ELYC43YZ.js +0 -1
- package/dist/chunks/chunk.EMUOCMNG.js +0 -1
- package/dist/chunks/chunk.EQ77DEN3.js +0 -1
- package/dist/chunks/chunk.EVAOZTKK.js +0 -37
- package/dist/chunks/chunk.EXISX4DM.js +0 -1
- package/dist/chunks/chunk.EY7CGJXP.js +0 -16
- package/dist/chunks/chunk.F5XNFJYR.js +0 -17
- package/dist/chunks/chunk.FGAFF4GY.js +0 -8
- package/dist/chunks/chunk.FQ6VIV6W.js +0 -1
- package/dist/chunks/chunk.FT7HZOCQ.js +0 -145
- package/dist/chunks/chunk.FXGSYMQ5.js +0 -1
- package/dist/chunks/chunk.G3TKMUU4.js +0 -1
- package/dist/chunks/chunk.G7EZQRZI.js +0 -26
- package/dist/chunks/chunk.GHVDYLX5.js +0 -1
- package/dist/chunks/chunk.GIZLZV63.js +0 -1
- package/dist/chunks/chunk.H2SGQQPI.js +0 -126
- package/dist/chunks/chunk.H4FARZ53.js +0 -1
- package/dist/chunks/chunk.H6PC5SSG.js +0 -8
- package/dist/chunks/chunk.HDPC44EI.js +0 -1
- package/dist/chunks/chunk.HJJKMAXZ.js +0 -1
- package/dist/chunks/chunk.HRG3YIXF.js +0 -1
- package/dist/chunks/chunk.HTTWDTCN.js +0 -1
- package/dist/chunks/chunk.I6KMV3PH.js +0 -1
- package/dist/chunks/chunk.IAZ53T5N.js +0 -1
- package/dist/chunks/chunk.IECIA36P.js +0 -1
- package/dist/chunks/chunk.IFRRAZJZ.js +0 -1
- package/dist/chunks/chunk.ILWARFBK.js +0 -80
- package/dist/chunks/chunk.IO5RP4LZ.js +0 -43
- package/dist/chunks/chunk.ITLR4NVV.js +0 -1
- package/dist/chunks/chunk.J6LC4XO6.js +0 -1
- package/dist/chunks/chunk.JFAE577A.js +0 -1
- package/dist/chunks/chunk.JHNY5UC5.js +0 -1
- package/dist/chunks/chunk.JIFY72GY.js +0 -1
- package/dist/chunks/chunk.JMHCKJE6.js +0 -12
- package/dist/chunks/chunk.JPCSPQ7M.js +0 -122
- package/dist/chunks/chunk.JUBS77KN.js +0 -1
- package/dist/chunks/chunk.JVNL2XTU.js +0 -5
- package/dist/chunks/chunk.K3NTQ4JF.js +0 -1
- package/dist/chunks/chunk.K3RQUNKR.js +0 -1
- package/dist/chunks/chunk.K6EEJAT5.js +0 -1
- package/dist/chunks/chunk.KBQI5V5Q.js +0 -749
- package/dist/chunks/chunk.KNYMQKW4.js +0 -1
- package/dist/chunks/chunk.KPFWB2YA.js +0 -1
- package/dist/chunks/chunk.KRWSFDPL.js +0 -1
- package/dist/chunks/chunk.KVHJU4LP.js +0 -1
- package/dist/chunks/chunk.KYXMELYH.js +0 -1
- package/dist/chunks/chunk.L745Y2S6.js +0 -1
- package/dist/chunks/chunk.LA4EE2OS.js +0 -26
- package/dist/chunks/chunk.LBOZG7DZ.js +0 -1
- package/dist/chunks/chunk.LCC2VNUN.js +0 -1
- package/dist/chunks/chunk.LFGMVPWO.js +0 -6
- package/dist/chunks/chunk.LPNUA4MS.js +0 -43
- package/dist/chunks/chunk.MAZZVNDV.js +0 -55
- package/dist/chunks/chunk.MFSYNWGZ.js +0 -1
- package/dist/chunks/chunk.MJISDOIT.js +0 -1
- package/dist/chunks/chunk.MNSPDFPW.js +0 -1
- package/dist/chunks/chunk.MSFH4A6C.js +0 -1
- package/dist/chunks/chunk.MWN6SUCO.js +0 -1
- package/dist/chunks/chunk.N6MMAM36.js +0 -1
- package/dist/chunks/chunk.NBONFMWU.js +0 -1
- package/dist/chunks/chunk.NDMEGIXT.js +0 -1
- package/dist/chunks/chunk.NH6VLJ6J.js +0 -1
- package/dist/chunks/chunk.NRKQII5L.js +0 -1
- package/dist/chunks/chunk.NV3RRECJ.js +0 -5
- package/dist/chunks/chunk.NW7UERHZ.js +0 -99
- package/dist/chunks/chunk.O3T4ATYT.js +0 -1
- package/dist/chunks/chunk.OGQJXR3F.js +0 -1
- package/dist/chunks/chunk.OJGU37E3.js +0 -1
- package/dist/chunks/chunk.OQULIOOE.js +0 -1
- package/dist/chunks/chunk.OTF3DTPS.js +0 -299
- package/dist/chunks/chunk.OTK4YHSY.js +0 -1
- package/dist/chunks/chunk.OZ4SZSLD.js +0 -1
- package/dist/chunks/chunk.PA77JIJB.js +0 -1
- package/dist/chunks/chunk.PAOPYU6H.js +0 -48
- package/dist/chunks/chunk.PPSCVLKZ.js +0 -566
- package/dist/chunks/chunk.PQWOPKO5.js +0 -1
- package/dist/chunks/chunk.PZM3CPCG.js +0 -64
- package/dist/chunks/chunk.Q6QIRUFF.js +0 -35
- package/dist/chunks/chunk.QLI6APTM.js +0 -1
- package/dist/chunks/chunk.QNHHTCKA.js +0 -20
- package/dist/chunks/chunk.QP47LYRE.js +0 -1
- package/dist/chunks/chunk.QS53EJDR.js +0 -1
- package/dist/chunks/chunk.QTWF2WDX.js +0 -1
- package/dist/chunks/chunk.QUWBD3SD.js +0 -2
- package/dist/chunks/chunk.RMKTIRLM.js +0 -1
- package/dist/chunks/chunk.ROGSTGQT.js +0 -1
- package/dist/chunks/chunk.S3EEI23E.js +0 -1
- package/dist/chunks/chunk.SATJQMPW.js +0 -1
- package/dist/chunks/chunk.SDHUSIQJ.js +0 -1
- package/dist/chunks/chunk.SEODWXYC.js +0 -38
- package/dist/chunks/chunk.T3F226QD.js +0 -24
- package/dist/chunks/chunk.T7B46YQE.js +0 -1
- package/dist/chunks/chunk.T7GB532E.js +0 -101
- package/dist/chunks/chunk.TKOSJQ55.js +0 -33
- package/dist/chunks/chunk.TLQME5TY.js +0 -1
- package/dist/chunks/chunk.TQGIFDYA.js +0 -65
- package/dist/chunks/chunk.TRPU5KOO.js +0 -1
- package/dist/chunks/chunk.TSTFRNHO.js +0 -30
- package/dist/chunks/chunk.TSVYBK3W.js +0 -1
- package/dist/chunks/chunk.UFDERNNG.js +0 -140
- package/dist/chunks/chunk.V2RCW5GT.js +0 -1
- package/dist/chunks/chunk.VIXBKCRX.js +0 -1
- package/dist/chunks/chunk.VPN54IEF.js +0 -1
- package/dist/chunks/chunk.VRH7V55E.js +0 -1
- package/dist/chunks/chunk.VRMDJLQD.js +0 -1157
- package/dist/chunks/chunk.W6XVQOLT.js +0 -1
- package/dist/chunks/chunk.WCR7D3KN.js +0 -49
- package/dist/chunks/chunk.WETDUXP5.js +0 -1
- package/dist/chunks/chunk.WKXYY2SS.js +0 -1
- package/dist/chunks/chunk.WLKVTAB4.js +0 -1
- package/dist/chunks/chunk.WNYSCJWU.js +0 -1
- package/dist/chunks/chunk.WSSQCROT.js +0 -62
- package/dist/chunks/chunk.WSV3Y476.js +0 -1
- package/dist/chunks/chunk.WUMKEMAE.js +0 -1
- package/dist/chunks/chunk.WUQDOY44.js +0 -1
- package/dist/chunks/chunk.WYFUGJYX.js +0 -1
- package/dist/chunks/chunk.WZJ6BLFI.js +0 -154
- package/dist/chunks/chunk.XA74HUUF.js +0 -11
- package/dist/chunks/chunk.XAR5NYEQ.js +0 -19
- package/dist/chunks/chunk.XBLQSPUU.js +0 -39
- package/dist/chunks/chunk.XOZSKLSU.js +0 -1
- package/dist/chunks/chunk.XQ2DODLW.js +0 -1
- package/dist/chunks/chunk.XUXVJHWD.js +0 -1
- package/dist/chunks/chunk.XW6P4ZVZ.js +0 -75
- package/dist/chunks/chunk.XWN6PMIT.js +0 -1
- package/dist/chunks/chunk.Y4NGZVLV.js +0 -157
- package/dist/chunks/chunk.YITLAPOA.js +0 -1
- package/dist/chunks/chunk.YSFPB4SY.js +0 -1
- package/dist/chunks/chunk.YVJLNJOM.js +0 -1
- package/dist/chunks/chunk.ZAZLZRKQ.js +0 -1
- package/dist/chunks/chunk.ZFBM4OFX.js +0 -1
- package/dist/chunks/chunk.ZGKHSKIP.js +0 -1
- package/dist/chunks/chunk.ZJOXNJ4J.js +0 -30
- package/dist/chunks/chunk.ZJQMVD74.js +0 -4
- package/dist/chunks/chunk.ZKKAJVQK.js +0 -11
- package/dist/chunks/chunk.ZVQU27UY.js +0 -1
- package/dist/terra_ui_components-0.0.181-py3-none-any.whl +0 -0
- package/dist/terra_ui_components-0.0.181.tar.gz +0 -0
|
@@ -1,2547 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
KnownFeatureFlags,
|
|
3
|
-
isFeatureEnabled
|
|
4
|
-
} from "./chunk.S6KQAZNG.js";
|
|
5
|
-
import {
|
|
6
|
-
convertVariableEntryIdToGiovanniFormat
|
|
7
|
-
} from "./chunk.FXO66O5A.js";
|
|
8
|
-
import {
|
|
9
|
-
getNotebook
|
|
10
|
-
} from "./chunk.XY2BAW25.js";
|
|
11
|
-
import {
|
|
12
|
-
TerraLogin
|
|
13
|
-
} from "./chunk.DKR37O6M.js";
|
|
14
|
-
import {
|
|
15
|
-
TerraDialog
|
|
16
|
-
} from "./chunk.GH3O32TH.js";
|
|
17
|
-
import {
|
|
18
|
-
data_subsetter_styles_default
|
|
19
|
-
} from "./chunk.GPQPCP6B.js";
|
|
20
|
-
import {
|
|
21
|
-
TerraDataAccess,
|
|
22
|
-
debounce
|
|
23
|
-
} from "./chunk.W7N4JADB.js";
|
|
24
|
-
import {
|
|
25
|
-
TerraSlider
|
|
26
|
-
} from "./chunk.KPL5WVGQ.js";
|
|
27
|
-
import {
|
|
28
|
-
TerraMenuItem
|
|
29
|
-
} from "./chunk.IJMKGIXM.js";
|
|
30
|
-
import {
|
|
31
|
-
TerraMenu
|
|
32
|
-
} from "./chunk.QMC7DUVJ.js";
|
|
33
|
-
import {
|
|
34
|
-
TerraDatePicker
|
|
35
|
-
} from "./chunk.VHMUJ6SG.js";
|
|
36
|
-
import {
|
|
37
|
-
HarmonyRequestController
|
|
38
|
-
} from "./chunk.3465UHBW.js";
|
|
39
|
-
import {
|
|
40
|
-
HarmonyRequest
|
|
41
|
-
} from "./chunk.VUKYQOBK.js";
|
|
42
|
-
import {
|
|
43
|
-
AuthController
|
|
44
|
-
} from "./chunk.7DYV7ZXX.js";
|
|
45
|
-
import {
|
|
46
|
-
CollectionController
|
|
47
|
-
} from "./chunk.M65VG5RW.js";
|
|
48
|
-
import {
|
|
49
|
-
TerraSpatialPicker
|
|
50
|
-
} from "./chunk.EWQBAXSZ.js";
|
|
51
|
-
import {
|
|
52
|
-
QueryClientMixin
|
|
53
|
-
} from "./chunk.45J3MZ3A.js";
|
|
54
|
-
import {
|
|
55
|
-
TerraInput
|
|
56
|
-
} from "./chunk.G6UY4GIZ.js";
|
|
57
|
-
import {
|
|
58
|
-
TerraDropdown
|
|
59
|
-
} from "./chunk.ACVD4RLC.js";
|
|
60
|
-
import {
|
|
61
|
-
TerraLoader
|
|
62
|
-
} from "./chunk.FEU2ZHGK.js";
|
|
63
|
-
import {
|
|
64
|
-
TerraButton
|
|
65
|
-
} from "./chunk.ZIBQ3RIQ.js";
|
|
66
|
-
import {
|
|
67
|
-
getUTCDate
|
|
68
|
-
} from "./chunk.TKSEPVAL.js";
|
|
69
|
-
import {
|
|
70
|
-
TerraAlert
|
|
71
|
-
} from "./chunk.OXV3VH7N.js";
|
|
72
|
-
import {
|
|
73
|
-
TerraAccordion
|
|
74
|
-
} from "./chunk.6TITQBN5.js";
|
|
75
|
-
import {
|
|
76
|
-
TerraIcon
|
|
77
|
-
} from "./chunk.S3QWAZET.js";
|
|
78
|
-
import {
|
|
79
|
-
watch
|
|
80
|
-
} from "./chunk.MPVZOQYA.js";
|
|
81
|
-
import {
|
|
82
|
-
TerraElement,
|
|
83
|
-
component_styles_default,
|
|
84
|
-
e,
|
|
85
|
-
n,
|
|
86
|
-
r
|
|
87
|
-
} from "./chunk.7ZVYIV7K.js";
|
|
88
|
-
import {
|
|
89
|
-
getBasePath
|
|
90
|
-
} from "./chunk.ZQVMOVOT.js";
|
|
91
|
-
import {
|
|
92
|
-
A,
|
|
93
|
-
b
|
|
94
|
-
} from "./chunk.RRCYT4LP.js";
|
|
95
|
-
import {
|
|
96
|
-
__decorateClass,
|
|
97
|
-
__privateAdd,
|
|
98
|
-
__privateGet,
|
|
99
|
-
__privateMethod,
|
|
100
|
-
__spreadProps,
|
|
101
|
-
__spreadValues,
|
|
102
|
-
init_buffer,
|
|
103
|
-
init_dirname,
|
|
104
|
-
init_process
|
|
105
|
-
} from "./chunk.ZEOVK2FE.js";
|
|
106
|
-
|
|
107
|
-
// src/components/data-subsetter/data-subsetter.component.ts
|
|
108
|
-
init_dirname();
|
|
109
|
-
init_buffer();
|
|
110
|
-
init_process();
|
|
111
|
-
|
|
112
|
-
// src/lib/jupyter.ts
|
|
113
|
-
init_dirname();
|
|
114
|
-
init_buffer();
|
|
115
|
-
init_process();
|
|
116
|
-
var JUPYTER_LITE_URL = "https://gesdisc.github.io/jupyterlite/lab/index.html";
|
|
117
|
-
function openJupyterLiteWindow(readyCb) {
|
|
118
|
-
const jupyterWindow = window.open(JUPYTER_LITE_URL, "_blank");
|
|
119
|
-
if (!jupyterWindow) {
|
|
120
|
-
console.error("Failed to open JupyterLite!");
|
|
121
|
-
return;
|
|
122
|
-
}
|
|
123
|
-
window.addEventListener("message", (event) => readyCb(event, jupyterWindow), {
|
|
124
|
-
once: true
|
|
125
|
-
});
|
|
126
|
-
return jupyterWindow;
|
|
127
|
-
}
|
|
128
|
-
function sendDataToJupyterNotebook(type, data) {
|
|
129
|
-
openJupyterLiteWindow((event, jupyterWindow) => {
|
|
130
|
-
var _a;
|
|
131
|
-
if (((_a = event.data) == null ? void 0 : _a.type) !== "jupyterlite-ready") {
|
|
132
|
-
return;
|
|
133
|
-
}
|
|
134
|
-
console.log("JupyterLite is ready!");
|
|
135
|
-
jupyterWindow.postMessage(__spreadValues({ type }, data), "*");
|
|
136
|
-
});
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
// src/services/cmr-variable.service.ts
|
|
140
|
-
init_dirname();
|
|
141
|
-
init_buffer();
|
|
142
|
-
init_process();
|
|
143
|
-
var CmrVariableService = class {
|
|
144
|
-
/**
|
|
145
|
-
* given a name and a list of variables, return the variable with the matching name
|
|
146
|
-
*/
|
|
147
|
-
getVariableByName(name, variables) {
|
|
148
|
-
var _a;
|
|
149
|
-
if (!variables || !((_a = variables.items) == null ? void 0 : _a.length)) {
|
|
150
|
-
return;
|
|
151
|
-
}
|
|
152
|
-
return variables.items.find((variable) => variable.umm.Name === name);
|
|
153
|
-
}
|
|
154
|
-
/**
|
|
155
|
-
* given a variable, return the variable's display label
|
|
156
|
-
* ex: Shortname = LongName (Units)
|
|
157
|
-
*/
|
|
158
|
-
getVariableDisplayLabel(variable) {
|
|
159
|
-
const { Name = "", LongName = "", Units = "" } = variable.umm;
|
|
160
|
-
return `${Name}${Name && LongName && Name !== LongName ? ` = ${LongName}` : ""}${Units ? ` (${Units})` : ""}`;
|
|
161
|
-
}
|
|
162
|
-
};
|
|
163
|
-
var cmrVariableService = new CmrVariableService();
|
|
164
|
-
var cmr_variable_service_default = cmrVariableService;
|
|
165
|
-
|
|
166
|
-
// src/components/data-subsetter/data-subsetter.component.ts
|
|
167
|
-
var defaultOutputFormat = {
|
|
168
|
-
key: "application/x-netcdf4",
|
|
169
|
-
label: "NetCDF",
|
|
170
|
-
description: "Download data in NetCDF format"
|
|
171
|
-
};
|
|
172
|
-
var _collectionController, _authController, _harmonyRequestController, _renderFooterForDialog, renderFooterForDialog_fn, _renderSizeInfo, renderSizeInfo_fn, _renderSubsetOptions, renderSubsetOptions_fn, _resetAllParameters, _renderSearchForCollection, renderSearchForCollection_fn, _renderOutputFormatSelection, renderOutputFormatSelection_fn, _renderDateRangeSelection, renderDateRangeSelection_fn, _handleDateChange, _resetDateRangeSelection, _resetFormatSelection, _getCollectionDateRange, getCollectionDateRange_fn, _renderSpatialSelection, renderSpatialSelection_fn, _handleSpatialChange, _resetSpatialSelection, _renderVariableSelection, renderVariableSelection_fn, _renderDimensionGroup, renderDimensionGroup_fn, _setDimensionValue, setDimensionValue_fn, _renderDimensionSelection, renderDimensionSelection_fn, _filterVariableTree, filterVariableTree_fn, _handleVariableFilterChange, handleVariableFilterChange_fn, _buildVariableTree, buildVariableTree_fn, _renderVariableTree, renderVariableTree_fn, _getAllGroupPaths, getAllGroupPaths_fn, _toggleGroupExpand, toggleGroupExpand_fn, _toggleExpandCollapseAll, toggleExpandCollapseAll_fn, _toggleVariableSelection, toggleVariableSelection_fn, _markFieldTouched, markFieldTouched_fn, _resetVariableSelection, _resetDimensionSelection, resetDimensionSelection_fn, _isDimensionExcluded, isDimensionExcluded_fn, _getCommonSelectableDimensions, getCommonSelectableDimensions_fn, _renderJobStatus, renderJobStatus_fn, _renderSelectedParams, renderSelectedParams_fn, _cancelJob, cancelJob_fn, _getData, getData_fn, _touchAllFields, touchAllFields_fn, _numberOfFilesFoundEstimate, numberOfFilesFoundEstimate_fn, _getDocumentationLinks, getDocumentationLinks_fn, _getDataLinks, getDataLinks_fn, _hasAtLeastOneSubsetOption, hasAtLeastOneSubsetOption_fn, _hasSpatialSubset, hasSpatialSubset_fn, _renderJobMessage, renderJobMessage_fn, _getJobMessageText, getJobMessageText_fn, _estimateJobSize, estimateJobSize_fn, _refineParameters, refineParameters_fn, _backToSubsetOptions, backToSubsetOptions_fn, _viewRunningJob, viewRunningJob_fn, _handleDownloadSelect, handleDownloadSelect_fn, _downloadLinksAsTxt, downloadLinksAsTxt_fn, _downloadPythonScript, downloadPythonScript_fn, _downloadEarthdataDownload, downloadEarthdataDownload_fn, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn, _renderAvailableTemporalRangeSection, renderAvailableTemporalRangeSection_fn, _renderAvailableSpatialRangeSection, renderAvailableSpatialRangeSection_fn, _renderDataAccessModeSelection, renderDataAccessModeSelection_fn, _getGiovanniValidationError, getGiovanniValidationError_fn;
|
|
173
|
-
var TerraDataSubsetter = class extends QueryClientMixin(TerraElement) {
|
|
174
|
-
constructor() {
|
|
175
|
-
super(...arguments);
|
|
176
|
-
__privateAdd(this, _renderFooterForDialog);
|
|
177
|
-
__privateAdd(this, _renderSizeInfo);
|
|
178
|
-
__privateAdd(this, _renderSubsetOptions);
|
|
179
|
-
__privateAdd(this, _renderSearchForCollection);
|
|
180
|
-
__privateAdd(this, _renderOutputFormatSelection);
|
|
181
|
-
__privateAdd(this, _renderDateRangeSelection);
|
|
182
|
-
__privateAdd(this, _getCollectionDateRange);
|
|
183
|
-
__privateAdd(this, _renderSpatialSelection);
|
|
184
|
-
__privateAdd(this, _renderVariableSelection);
|
|
185
|
-
__privateAdd(this, _renderDimensionGroup);
|
|
186
|
-
__privateAdd(this, _setDimensionValue);
|
|
187
|
-
__privateAdd(this, _renderDimensionSelection);
|
|
188
|
-
__privateAdd(this, _filterVariableTree);
|
|
189
|
-
__privateAdd(this, _handleVariableFilterChange);
|
|
190
|
-
__privateAdd(this, _buildVariableTree);
|
|
191
|
-
__privateAdd(this, _renderVariableTree);
|
|
192
|
-
__privateAdd(this, _getAllGroupPaths);
|
|
193
|
-
__privateAdd(this, _toggleGroupExpand);
|
|
194
|
-
__privateAdd(this, _toggleExpandCollapseAll);
|
|
195
|
-
__privateAdd(this, _toggleVariableSelection);
|
|
196
|
-
__privateAdd(this, _markFieldTouched);
|
|
197
|
-
__privateAdd(this, _resetDimensionSelection);
|
|
198
|
-
__privateAdd(this, _isDimensionExcluded);
|
|
199
|
-
__privateAdd(this, _getCommonSelectableDimensions);
|
|
200
|
-
__privateAdd(this, _renderJobStatus);
|
|
201
|
-
__privateAdd(this, _renderSelectedParams);
|
|
202
|
-
__privateAdd(this, _cancelJob);
|
|
203
|
-
__privateAdd(this, _getData);
|
|
204
|
-
__privateAdd(this, _touchAllFields);
|
|
205
|
-
__privateAdd(this, _numberOfFilesFoundEstimate);
|
|
206
|
-
__privateAdd(this, _getDocumentationLinks);
|
|
207
|
-
__privateAdd(this, _getDataLinks);
|
|
208
|
-
__privateAdd(this, _hasAtLeastOneSubsetOption);
|
|
209
|
-
__privateAdd(this, _hasSpatialSubset);
|
|
210
|
-
__privateAdd(this, _renderJobMessage);
|
|
211
|
-
__privateAdd(this, _getJobMessageText);
|
|
212
|
-
__privateAdd(this, _estimateJobSize);
|
|
213
|
-
__privateAdd(this, _refineParameters);
|
|
214
|
-
__privateAdd(this, _backToSubsetOptions);
|
|
215
|
-
__privateAdd(this, _viewRunningJob);
|
|
216
|
-
__privateAdd(this, _handleDownloadSelect);
|
|
217
|
-
__privateAdd(this, _downloadLinksAsTxt);
|
|
218
|
-
__privateAdd(this, _downloadPythonScript);
|
|
219
|
-
__privateAdd(this, _downloadEarthdataDownload);
|
|
220
|
-
__privateAdd(this, _handleJupyterNotebookClick);
|
|
221
|
-
__privateAdd(this, _renderAvailableTemporalRangeSection);
|
|
222
|
-
__privateAdd(this, _renderAvailableSpatialRangeSection);
|
|
223
|
-
__privateAdd(this, _renderDataAccessModeSelection);
|
|
224
|
-
__privateAdd(this, _getGiovanniValidationError);
|
|
225
|
-
this.showCollectionSearch = true;
|
|
226
|
-
this.showHistoryPanel = true;
|
|
227
|
-
this.isHistoryView = false;
|
|
228
|
-
this.selectedVariables = [];
|
|
229
|
-
this.selectedDimensionIndexes = {};
|
|
230
|
-
this.expandedVariableGroups = /* @__PURE__ */ new Set();
|
|
231
|
-
this.variableFilterText = "";
|
|
232
|
-
this.touchedFields = /* @__PURE__ */ new Set();
|
|
233
|
-
this.selectedDateRange = {
|
|
234
|
-
startDate: null,
|
|
235
|
-
endDate: null
|
|
236
|
-
};
|
|
237
|
-
this.selectedFormat = defaultOutputFormat;
|
|
238
|
-
this.cancelingGetData = false;
|
|
239
|
-
this.selectedTab = "web-links";
|
|
240
|
-
this.refineParameters = false;
|
|
241
|
-
this.collectionSearchType = "all";
|
|
242
|
-
this.collectionSearchLoading = false;
|
|
243
|
-
this.collectionLoading = false;
|
|
244
|
-
this.collectionAccordionOpen = true;
|
|
245
|
-
this.dataAccessMode = "original";
|
|
246
|
-
__privateAdd(this, _collectionController, new CollectionController(this, {
|
|
247
|
-
getCollectionEntryId: () => this.collectionEntryId,
|
|
248
|
-
getBearerToken: () => this.bearerToken
|
|
249
|
-
}));
|
|
250
|
-
__privateAdd(this, _authController, new AuthController(this));
|
|
251
|
-
__privateAdd(this, _harmonyRequestController, new HarmonyRequestController(this));
|
|
252
|
-
__privateAdd(this, _resetAllParameters, () => {
|
|
253
|
-
this.selectedVariables = [];
|
|
254
|
-
if (__privateMethod(this, _hasSpatialSubset, hasSpatialSubset_fn).call(this)) {
|
|
255
|
-
__privateGet(this, _resetSpatialSelection).call(this);
|
|
256
|
-
}
|
|
257
|
-
this.selectedDateRange = {
|
|
258
|
-
startDate: null,
|
|
259
|
-
endDate: null
|
|
260
|
-
};
|
|
261
|
-
this.touchedFields = /* @__PURE__ */ new Set();
|
|
262
|
-
this.validationError = void 0;
|
|
263
|
-
this.expandedVariableGroups = /* @__PURE__ */ new Set();
|
|
264
|
-
this.requestUpdate();
|
|
265
|
-
});
|
|
266
|
-
__privateAdd(this, _handleDateChange, (e2) => {
|
|
267
|
-
__privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "date");
|
|
268
|
-
this.selectedDateRange = __spreadProps(__spreadValues({}, this.selectedDateRange), {
|
|
269
|
-
startDate: e2.detail.startDate,
|
|
270
|
-
endDate: e2.detail.endDate
|
|
271
|
-
});
|
|
272
|
-
});
|
|
273
|
-
__privateAdd(this, _resetDateRangeSelection, () => {
|
|
274
|
-
this.selectedDateRange = { startDate: null, endDate: null };
|
|
275
|
-
});
|
|
276
|
-
__privateAdd(this, _resetFormatSelection, () => {
|
|
277
|
-
var _a;
|
|
278
|
-
if ((_a = this.collectionWithServices) == null ? void 0 : _a.configuredOutputFormats.length) {
|
|
279
|
-
const netcdfFormat = this.collectionWithServices.configuredOutputFormats.find(
|
|
280
|
-
(f) => f.key === "application/x-netcdf4" || f.key === "application/netcdf"
|
|
281
|
-
);
|
|
282
|
-
this.selectedFormat = netcdfFormat || this.collectionWithServices.configuredOutputFormats[0];
|
|
283
|
-
} else {
|
|
284
|
-
this.selectedFormat = defaultOutputFormat;
|
|
285
|
-
}
|
|
286
|
-
});
|
|
287
|
-
__privateAdd(this, _handleSpatialChange, (e2) => {
|
|
288
|
-
__privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "spatial");
|
|
289
|
-
if (e2.detail.type === "point" /* POINT */) {
|
|
290
|
-
this.spatialSelection = e2.detail.latLng;
|
|
291
|
-
} else if (e2.detail.type === "bbox" /* BBOX */) {
|
|
292
|
-
this.spatialSelection = e2.detail.bounds;
|
|
293
|
-
} else {
|
|
294
|
-
this.spatialSelection = void 0;
|
|
295
|
-
}
|
|
296
|
-
});
|
|
297
|
-
/**
|
|
298
|
-
* resets the spatial selection back to the bounds of the collection
|
|
299
|
-
*/
|
|
300
|
-
__privateAdd(this, _resetSpatialSelection, () => {
|
|
301
|
-
this.spatialSelection = void 0;
|
|
302
|
-
this.spatialPicker.clear();
|
|
303
|
-
__privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "spatial");
|
|
304
|
-
});
|
|
305
|
-
__privateAdd(this, _resetVariableSelection, () => {
|
|
306
|
-
this.selectedVariables = [];
|
|
307
|
-
__privateMethod(this, _resetDimensionSelection, resetDimensionSelection_fn).call(this);
|
|
308
|
-
});
|
|
309
|
-
}
|
|
310
|
-
jobIdChanged() {
|
|
311
|
-
if (this.jobId) {
|
|
312
|
-
__privateGet(this, _harmonyRequestController).startPollForJobStatus(this.jobId);
|
|
313
|
-
this.dataAccessMode = "subset";
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
shortNameAndVersionChanged() {
|
|
317
|
-
if (this.shortName && this.version) {
|
|
318
|
-
this.collectionEntryId = `${this.shortName}_${this.version}`;
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
collectionEntryIdChanged() {
|
|
322
|
-
if (this.collectionEntryId) {
|
|
323
|
-
this.showCollectionSearch = false;
|
|
324
|
-
} else {
|
|
325
|
-
this.showCollectionSearch = true;
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
firstUpdated() {
|
|
329
|
-
if (this.collectionEntryId) {
|
|
330
|
-
this.showCollectionSearch = false;
|
|
331
|
-
}
|
|
332
|
-
if (this.jobId) {
|
|
333
|
-
__privateGet(this, _harmonyRequestController).startPollForJobStatus(this.jobId);
|
|
334
|
-
this.dataAccessMode = "subset";
|
|
335
|
-
}
|
|
336
|
-
this.renderHistoryPanel();
|
|
337
|
-
}
|
|
338
|
-
updated(changedProps) {
|
|
339
|
-
var _a, _b, _c;
|
|
340
|
-
super.updated(changedProps);
|
|
341
|
-
const newCollectionInfo = __privateGet(this, _collectionController).collectionInfo;
|
|
342
|
-
if (newCollectionInfo !== this.collectionWithServices) {
|
|
343
|
-
this.collectionWithServices = newCollectionInfo;
|
|
344
|
-
}
|
|
345
|
-
const sampling = (_a = __privateGet(this, _collectionController).sampling) == null ? void 0 : _a.data;
|
|
346
|
-
if ((sampling == null ? void 0 : sampling.minDate) !== this.granuleMinDate) {
|
|
347
|
-
this.granuleMinDate = sampling == null ? void 0 : sampling.minDate;
|
|
348
|
-
}
|
|
349
|
-
if ((sampling == null ? void 0 : sampling.maxDate) !== this.granuleMaxDate) {
|
|
350
|
-
this.granuleMaxDate = sampling == null ? void 0 : sampling.maxDate;
|
|
351
|
-
}
|
|
352
|
-
const newGiovanni = __privateGet(this, _collectionController).giovanniVariables;
|
|
353
|
-
if (newGiovanni.size !== ((_c = (_b = this.giovanniConfiguredVariables) == null ? void 0 : _b.size) != null ? _c : 0)) {
|
|
354
|
-
this.giovanniConfiguredVariables = newGiovanni;
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
/** True if the collection contains sub-daily granules. Used by DataSubsetterController to format dates. */
|
|
358
|
-
get isSubDaily() {
|
|
359
|
-
return __privateGet(this, _collectionController).isSubDaily;
|
|
360
|
-
}
|
|
361
|
-
collectionChanged() {
|
|
362
|
-
const { startDate, endDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
|
|
363
|
-
this.selectedDateRange = { startDate, endDate };
|
|
364
|
-
__privateGet(this, _resetFormatSelection).call(this);
|
|
365
|
-
this.collectionLoading = false;
|
|
366
|
-
this.collectionAccordionOpen = false;
|
|
367
|
-
}
|
|
368
|
-
granuleDatesChanged() {
|
|
369
|
-
const newRange = __spreadValues(__spreadValues({}, this.granuleMinDate && { startDate: this.granuleMinDate }), this.granuleMaxDate && { endDate: this.granuleMaxDate });
|
|
370
|
-
if (Object.keys(newRange).length > 0) {
|
|
371
|
-
this.selectedDateRange = __spreadValues(__spreadValues({}, this.selectedDateRange), newRange);
|
|
372
|
-
}
|
|
373
|
-
}
|
|
374
|
-
selectedFormatChanged() {
|
|
375
|
-
if (this.selectedFormat.isGiovanniFormat && this.selectedVariables.length > 1) {
|
|
376
|
-
this.selectedVariables = [this.selectedVariables[0]];
|
|
377
|
-
}
|
|
378
|
-
}
|
|
379
|
-
showDialog() {
|
|
380
|
-
var _a;
|
|
381
|
-
(_a = this.dialogElement) == null ? void 0 : _a.show();
|
|
382
|
-
}
|
|
383
|
-
render() {
|
|
384
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
|
|
385
|
-
const showJobStatus = __privateGet(this, _harmonyRequestController).jobId && !this.refineParameters;
|
|
386
|
-
const showMinimizeButton = showJobStatus && !!this.dialog;
|
|
387
|
-
const title = (_c = (_b = (_a = this.collectionWithServices) == null ? void 0 : _a.collection) == null ? void 0 : _b.EntryTitle) != null ? _c : "Download Data";
|
|
388
|
-
if (!this.collectionWithServices) {
|
|
389
|
-
if (__privateGet(this, _collectionController).hasCapabilitiesError) {
|
|
390
|
-
return b`
|
|
391
|
-
<terra-alert open variant="danger" appearance="white">
|
|
392
|
-
Failed to find the requested collection.
|
|
393
|
-
</terra-alert>
|
|
394
|
-
`;
|
|
395
|
-
}
|
|
396
|
-
}
|
|
397
|
-
const content = b`
|
|
398
|
-
<div class="container">
|
|
399
|
-
${!this.dialog ? b`
|
|
400
|
-
<div class="header">
|
|
401
|
-
<h1>
|
|
402
|
-
<svg
|
|
403
|
-
class="download-icon"
|
|
404
|
-
viewBox="0 0 24 24"
|
|
405
|
-
fill="currentColor"
|
|
406
|
-
>
|
|
407
|
-
<path
|
|
408
|
-
d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"
|
|
409
|
-
/>
|
|
410
|
-
</svg>
|
|
411
|
-
${title}
|
|
412
|
-
</h1>
|
|
413
|
-
|
|
414
|
-
${showMinimizeButton ? b`<button
|
|
415
|
-
class="minimize-btn"
|
|
416
|
-
@click=${() => this.minimizeDialog()}
|
|
417
|
-
>
|
|
418
|
-
-
|
|
419
|
-
</button>` : A}
|
|
420
|
-
</div>
|
|
421
|
-
` : A}
|
|
422
|
-
${!this.isHistoryView && ((_e = (_d = this.collectionWithServices) == null ? void 0 : _d.services) == null ? void 0 : _e.length) ? b`
|
|
423
|
-
<div class="section">
|
|
424
|
-
${__privateMethod(this, _renderDataAccessModeSelection, renderDataAccessModeSelection_fn).call(this)}
|
|
425
|
-
</div>
|
|
426
|
-
` : A}
|
|
427
|
-
${this.dataAccessMode === "original" ? b`
|
|
428
|
-
<div class="section">
|
|
429
|
-
<terra-data-access
|
|
430
|
-
short-name=${(_h = this.shortName) != null ? _h : (_g = (_f = this.collectionWithServices) == null ? void 0 : _f.collection) == null ? void 0 : _g.ShortName}
|
|
431
|
-
version=${(_k = this.version) != null ? _k : (_j = (_i = this.collectionWithServices) == null ? void 0 : _i.collection) == null ? void 0 : _j.Version}
|
|
432
|
-
?footer-slot=${!!this.dialog}
|
|
433
|
-
>
|
|
434
|
-
${this.dialog ? b`
|
|
435
|
-
<div
|
|
436
|
-
slot="footer"
|
|
437
|
-
style="margin-top: 15px;"
|
|
438
|
-
>
|
|
439
|
-
<slot
|
|
440
|
-
name="data-access-footer"
|
|
441
|
-
></slot>
|
|
442
|
-
</div>
|
|
443
|
-
` : A}
|
|
444
|
-
</terra-data-access>
|
|
445
|
-
</div>
|
|
446
|
-
` : showJobStatus ? __privateMethod(this, _renderJobStatus, renderJobStatus_fn).call(this) : __privateMethod(this, _renderSubsetOptions, renderSubsetOptions_fn).call(this)}
|
|
447
|
-
</div>
|
|
448
|
-
`;
|
|
449
|
-
if (this.dialog) {
|
|
450
|
-
return b`
|
|
451
|
-
<terra-dialog id=${this.dialog} style="--title-font-size: 16px;">
|
|
452
|
-
<span
|
|
453
|
-
slot="label"
|
|
454
|
-
style="display: flex; align-items: center; gap: 8px; color: #0066cc; font-weight: 600;"
|
|
455
|
-
>
|
|
456
|
-
<svg
|
|
457
|
-
class="download-icon"
|
|
458
|
-
viewBox="0 0 24 24"
|
|
459
|
-
fill="currentColor"
|
|
460
|
-
style="width: 16px; height: 16px; display: inline-block; vertical-align: middle; flex-shrink: 0;"
|
|
461
|
-
>
|
|
462
|
-
<path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z" />
|
|
463
|
-
</svg>
|
|
464
|
-
${title}
|
|
465
|
-
</span>
|
|
466
|
-
${showMinimizeButton ? b`
|
|
467
|
-
<button
|
|
468
|
-
slot="header-actions"
|
|
469
|
-
class="minimize-btn"
|
|
470
|
-
@click=${() => {
|
|
471
|
-
var _a2;
|
|
472
|
-
return (_a2 = this.dialogElement) == null ? void 0 : _a2.hide();
|
|
473
|
-
}}
|
|
474
|
-
aria-label="Minimize"
|
|
475
|
-
>
|
|
476
|
-
-
|
|
477
|
-
</button>
|
|
478
|
-
` : A}
|
|
479
|
-
<slot name="dialog-header-content"></slot>
|
|
480
|
-
${content} ${__privateMethod(this, _renderFooterForDialog, renderFooterForDialog_fn).call(this)}
|
|
481
|
-
</terra-dialog>
|
|
482
|
-
`;
|
|
483
|
-
}
|
|
484
|
-
return b`
|
|
485
|
-
<div class="container">
|
|
486
|
-
<div class="header">
|
|
487
|
-
<h1>
|
|
488
|
-
<svg
|
|
489
|
-
class="download-icon"
|
|
490
|
-
viewBox="0 0 24 24"
|
|
491
|
-
fill="currentColor"
|
|
492
|
-
>
|
|
493
|
-
<path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z" />
|
|
494
|
-
</svg>
|
|
495
|
-
${title}
|
|
496
|
-
</h1>
|
|
497
|
-
|
|
498
|
-
${showMinimizeButton ? b`<button
|
|
499
|
-
class="minimize-btn"
|
|
500
|
-
@click=${() => this.minimizeDialog()}
|
|
501
|
-
>
|
|
502
|
-
-
|
|
503
|
-
</button>` : A}
|
|
504
|
-
</div>
|
|
505
|
-
${!this.isHistoryView && ((_m = (_l = this.collectionWithServices) == null ? void 0 : _l.services) == null ? void 0 : _m.length) ? b`
|
|
506
|
-
<div class="section">
|
|
507
|
-
${__privateMethod(this, _renderDataAccessModeSelection, renderDataAccessModeSelection_fn).call(this)}
|
|
508
|
-
</div>
|
|
509
|
-
` : A}
|
|
510
|
-
${this.dataAccessMode === "original" ? b`
|
|
511
|
-
<div class="section">
|
|
512
|
-
<terra-data-access
|
|
513
|
-
short-name=${(_p = this.shortName) != null ? _p : (_o = (_n = this.collectionWithServices) == null ? void 0 : _n.collection) == null ? void 0 : _o.ShortName}
|
|
514
|
-
version=${(_s = this.version) != null ? _s : (_r = (_q = this.collectionWithServices) == null ? void 0 : _q.collection) == null ? void 0 : _r.Version}
|
|
515
|
-
?footer-slot=${!!this.dialog}
|
|
516
|
-
>
|
|
517
|
-
${this.dialog ? b`
|
|
518
|
-
<div
|
|
519
|
-
slot="footer"
|
|
520
|
-
style="margin-top: 15px;"
|
|
521
|
-
>
|
|
522
|
-
<slot
|
|
523
|
-
name="data-access-footer"
|
|
524
|
-
></slot>
|
|
525
|
-
</div>
|
|
526
|
-
` : A}
|
|
527
|
-
</terra-data-access>
|
|
528
|
-
</div>
|
|
529
|
-
` : showJobStatus ? __privateMethod(this, _renderJobStatus, renderJobStatus_fn).call(this) : __privateMethod(this, _renderSubsetOptions, renderSubsetOptions_fn).call(this)}
|
|
530
|
-
</div>
|
|
531
|
-
`;
|
|
532
|
-
}
|
|
533
|
-
minimizeDialog() {
|
|
534
|
-
var _a;
|
|
535
|
-
(_a = this.closest("terra-dialog")) == null ? void 0 : _a.hide();
|
|
536
|
-
}
|
|
537
|
-
handleCollectionSearch(searchTerm) {
|
|
538
|
-
this.collectionSearchQuery = searchTerm;
|
|
539
|
-
}
|
|
540
|
-
renderHistoryPanel() {
|
|
541
|
-
const existingHistoryPanel = document.querySelector(
|
|
542
|
-
"terra-data-subsetter-history"
|
|
543
|
-
);
|
|
544
|
-
if (!existingHistoryPanel && this.bearerToken) {
|
|
545
|
-
const historyPanel = document.createElement(
|
|
546
|
-
"terra-data-subsetter-history"
|
|
547
|
-
);
|
|
548
|
-
if (this.bearerToken) {
|
|
549
|
-
historyPanel.setAttribute("bearer-token", this.bearerToken);
|
|
550
|
-
}
|
|
551
|
-
if (this.environment) {
|
|
552
|
-
historyPanel.setAttribute("environment", this.environment);
|
|
553
|
-
}
|
|
554
|
-
document.body.appendChild(historyPanel);
|
|
555
|
-
}
|
|
556
|
-
}
|
|
557
|
-
};
|
|
558
|
-
_collectionController = new WeakMap();
|
|
559
|
-
_authController = new WeakMap();
|
|
560
|
-
_harmonyRequestController = new WeakMap();
|
|
561
|
-
_renderFooterForDialog = new WeakSet();
|
|
562
|
-
renderFooterForDialog_fn = function() {
|
|
563
|
-
const showJobStatus = __privateGet(this, _harmonyRequestController).jobId && !this.refineParameters;
|
|
564
|
-
if (showJobStatus && __privateGet(this, _harmonyRequestController).jobId) {
|
|
565
|
-
return b`
|
|
566
|
-
<div slot="footer" class="footer">
|
|
567
|
-
${__privateGet(this, _harmonyRequestController).status === "successful" /* SUCCESSFUL */ || __privateGet(this, _harmonyRequestController).status === "complete_with_errors" /* COMPLETE_WITH_ERRORS */ ? b`
|
|
568
|
-
<div
|
|
569
|
-
style="display: flex; align-items: center; gap: 8px;"
|
|
570
|
-
>
|
|
571
|
-
<terra-dropdown
|
|
572
|
-
@terra-select=${__privateMethod(this, _handleDownloadSelect, handleDownloadSelect_fn)}
|
|
573
|
-
>
|
|
574
|
-
<terra-button slot="trigger" caret>
|
|
575
|
-
Download Options
|
|
576
|
-
</terra-button>
|
|
577
|
-
<terra-menu>
|
|
578
|
-
<terra-menu-item value="file-list">
|
|
579
|
-
<svg
|
|
580
|
-
slot="prefix"
|
|
581
|
-
viewBox="0 0 24 24"
|
|
582
|
-
width="16"
|
|
583
|
-
height="16"
|
|
584
|
-
style="width: 16px; height: 16px;"
|
|
585
|
-
>
|
|
586
|
-
<path
|
|
587
|
-
fill="currentColor"
|
|
588
|
-
d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z"
|
|
589
|
-
/>
|
|
590
|
-
</svg>
|
|
591
|
-
File List
|
|
592
|
-
</terra-menu-item>
|
|
593
|
-
<terra-menu-item value="python-script">
|
|
594
|
-
<svg
|
|
595
|
-
slot="prefix"
|
|
596
|
-
viewBox="0 0 128 128"
|
|
597
|
-
width="16"
|
|
598
|
-
height="16"
|
|
599
|
-
style="width: 16px; height: 16px;"
|
|
600
|
-
>
|
|
601
|
-
<path
|
|
602
|
-
fill="currentColor"
|
|
603
|
-
d="M49.33 62h29.159C86.606 62 93 55.132 93 46.981V19.183c0-7.912-6.632-13.856-14.555-15.176-5.014-.835-10.195-1.215-15.187-1.191-4.99.023-9.612.448-13.805 1.191C37.098 6.188 35 10.758 35 19.183V30h29v4H23.776c-8.484 0-15.914 5.108-18.237 14.811-2.681 11.12-2.8 17.919 0 29.53C7.614 86.983 12.569 93 21.054 93H31V79.952C31 70.315 39.428 62 49.33 62zm-1.838-39.11c-3.026 0-5.478-2.479-5.478-5.545 0-3.079 2.451-5.581 5.478-5.581 3.015 0 5.479 2.502 5.479 5.581-.001 3.066-2.465 5.545-5.479 5.545zm74.789 25.921C120.183 40.363 116.178 34 107.682 34H97v12.981C97 57.031 88.206 65 78.489 65H49.33C41.342 65 35 72.326 35 80.326v27.8c0 7.91 6.745 12.564 14.462 14.834 9.242 2.717 17.994 3.208 29.051 0C85.862 120.831 93 116.549 93 108.126V97H64v-4h43.682c8.484 0 11.647-5.776 14.599-14.66 3.047-9.145 2.916-17.799 0-29.529zm-41.955 55.606c3.027 0 5.479 2.479 5.479 5.547 0 3.076-2.451 5.579-5.479 5.579-3.015 0-5.478-2.502-5.478-5.579 0-3.068 2.463-5.547 5.478-5.547z"
|
|
604
|
-
></path>
|
|
605
|
-
</svg>
|
|
606
|
-
Python Script
|
|
607
|
-
</terra-menu-item>
|
|
608
|
-
<terra-menu-item value="earthdata-download">
|
|
609
|
-
<svg
|
|
610
|
-
slot="prefix"
|
|
611
|
-
viewBox="0 0 64 64"
|
|
612
|
-
fill="none"
|
|
613
|
-
width="16"
|
|
614
|
-
height="16"
|
|
615
|
-
style="width: 16px; height: 16px;"
|
|
616
|
-
>
|
|
617
|
-
<circle
|
|
618
|
-
cx="32"
|
|
619
|
-
cy="32"
|
|
620
|
-
r="28"
|
|
621
|
-
fill="currentColor"
|
|
622
|
-
/>
|
|
623
|
-
<path
|
|
624
|
-
d="M32 14v26M32 40l-9-9M32 40l9-9"
|
|
625
|
-
stroke="#fff"
|
|
626
|
-
stroke-width="4"
|
|
627
|
-
stroke-linecap="round"
|
|
628
|
-
stroke-linejoin="round"
|
|
629
|
-
fill="none"
|
|
630
|
-
/>
|
|
631
|
-
</svg>
|
|
632
|
-
Earthdata Download
|
|
633
|
-
</terra-menu-item>
|
|
634
|
-
</terra-menu>
|
|
635
|
-
</terra-dropdown>
|
|
636
|
-
|
|
637
|
-
<!--
|
|
638
|
-
<terra-button
|
|
639
|
-
outline
|
|
640
|
-
@click=${() => __privateMethod(this, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn).call(this)}
|
|
641
|
-
>
|
|
642
|
-
<terra-icon
|
|
643
|
-
name="outline-code-bracket"
|
|
644
|
-
library="heroicons"
|
|
645
|
-
font-size="1.5em"
|
|
646
|
-
style="margin-right: 5px;"
|
|
647
|
-
></terra-icon>
|
|
648
|
-
Open in Jupyter Notebook
|
|
649
|
-
</terra-button>
|
|
650
|
-
-->
|
|
651
|
-
</div>
|
|
652
|
-
` : A}
|
|
653
|
-
${__privateGet(this, _harmonyRequestController).status === "running" /* RUNNING */ ? b`<button
|
|
654
|
-
class="btn btn-success"
|
|
655
|
-
@click=${__privateMethod(this, _cancelJob, cancelJob_fn)}
|
|
656
|
-
?disabled=${this.cancelingGetData}
|
|
657
|
-
>
|
|
658
|
-
${this.cancelingGetData ? "Canceling..." : "Cancel request"}
|
|
659
|
-
</button>` : A}
|
|
660
|
-
|
|
661
|
-
<div class="job-info">
|
|
662
|
-
Job ID:
|
|
663
|
-
<span class="job-id">
|
|
664
|
-
${this.bearerToken ? b`<a
|
|
665
|
-
href="https://harmony.earthdata.nasa.gov/jobs/${__privateGet(this, _harmonyRequestController).jobId}"
|
|
666
|
-
target="_blank"
|
|
667
|
-
>${__privateGet(this, _harmonyRequestController).jobId}</a
|
|
668
|
-
>` : __privateGet(this, _harmonyRequestController).jobId}
|
|
669
|
-
</span>
|
|
670
|
-
<span class="info-icon">?</span>
|
|
671
|
-
</div>
|
|
672
|
-
</div>
|
|
673
|
-
`;
|
|
674
|
-
} else if (this.dataAccessMode === "subset") {
|
|
675
|
-
return b`
|
|
676
|
-
<div slot="footer" class="footer">
|
|
677
|
-
<button class="btn btn-secondary" @click=${__privateGet(this, _resetAllParameters)}>Reset All</button>
|
|
678
|
-
<div>
|
|
679
|
-
<button class="btn btn-primary" @click=${__privateMethod(this, _getData, getData_fn)}>
|
|
680
|
-
Get Data
|
|
681
|
-
</button>
|
|
682
|
-
${this.jobId ? b`
|
|
683
|
-
<terra-button
|
|
684
|
-
variant="default"
|
|
685
|
-
@click=${__privateMethod(this, _viewRunningJob, viewRunningJob_fn)}
|
|
686
|
-
>
|
|
687
|
-
View Running Job
|
|
688
|
-
</terra-button>
|
|
689
|
-
` : A}
|
|
690
|
-
</div>
|
|
691
|
-
</div>
|
|
692
|
-
</div>
|
|
693
|
-
</div>
|
|
694
|
-
`;
|
|
695
|
-
}
|
|
696
|
-
return A;
|
|
697
|
-
};
|
|
698
|
-
_renderSizeInfo = new WeakSet();
|
|
699
|
-
renderSizeInfo_fn = function(estimates) {
|
|
700
|
-
if (!__privateGet(this, _authController).state.isLoading && !__privateGet(this, _authController).state.user) {
|
|
701
|
-
return b`
|
|
702
|
-
<div class="size-info warning">
|
|
703
|
-
<terra-login>
|
|
704
|
-
<h2 slot="logged-out">Limited access as a guest.</h2>
|
|
705
|
-
|
|
706
|
-
<p slot="logged-out">
|
|
707
|
-
Your results will be capped at 10 links. Log in for full
|
|
708
|
-
access to all data.
|
|
709
|
-
</p>
|
|
710
|
-
</terra-login>
|
|
711
|
-
</div>
|
|
712
|
-
`;
|
|
713
|
-
}
|
|
714
|
-
return b`<div
|
|
715
|
-
class="size-info ${estimates.links >= 150 ? "warning" : "neutral"}"
|
|
716
|
-
>
|
|
717
|
-
<h2>Estimated size of results</h2>
|
|
718
|
-
<div class="size-stats">
|
|
719
|
-
${estimates.days.toLocaleString()} days,
|
|
720
|
-
${estimates.links.toLocaleString()} links
|
|
721
|
-
</div>
|
|
722
|
-
${estimates.links >= 150 ? b`<div class="size-warning">
|
|
723
|
-
You are about to retrieve ${estimates.links.toLocaleString()}
|
|
724
|
-
file links from the archive. You may
|
|
725
|
-
<strong>speed up the request</strong> by limiting the scope of
|
|
726
|
-
your search.
|
|
727
|
-
</div>` : A}
|
|
728
|
-
</div>`;
|
|
729
|
-
};
|
|
730
|
-
_renderSubsetOptions = new WeakSet();
|
|
731
|
-
renderSubsetOptions_fn = function() {
|
|
732
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
|
733
|
-
const estimates = __privateMethod(this, _estimateJobSize, estimateJobSize_fn).call(this);
|
|
734
|
-
const hasSubsetOption = __privateMethod(this, _hasAtLeastOneSubsetOption, hasAtLeastOneSubsetOption_fn).call(this);
|
|
735
|
-
const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
|
|
736
|
-
const temporalExtents = collection == null ? void 0 : collection.TemporalExtents;
|
|
737
|
-
const spatialExtent = collection == null ? void 0 : collection.SpatialExtent;
|
|
738
|
-
const showTemporalSection = temporalExtents == null ? void 0 : temporalExtents.length;
|
|
739
|
-
const showSpatialSection = (_c = (_b = spatialExtent == null ? void 0 : spatialExtent.HorizontalSpatialDomain) == null ? void 0 : _b.Geometry) == null ? void 0 : _c.BoundingRectangles;
|
|
740
|
-
return b`
|
|
741
|
-
${this.dataAccessMode === "original" ? A : hasSubsetOption ? b`
|
|
742
|
-
${hasSubsetOption && estimates ? __privateMethod(this, _renderSizeInfo, renderSizeInfo_fn).call(this, estimates) : A}
|
|
743
|
-
${this.showCollectionSearch ? b`
|
|
744
|
-
<div class="section">
|
|
745
|
-
<h2 class="section-title">
|
|
746
|
-
Select Data Collection
|
|
747
|
-
</h2>
|
|
748
|
-
|
|
749
|
-
${__privateMethod(this, _renderSearchForCollection, renderSearchForCollection_fn).call(this)}
|
|
750
|
-
</div>
|
|
751
|
-
` : A}
|
|
752
|
-
${((_e = (_d = this.collectionWithServices) == null ? void 0 : _d.summary.outputFormats) == null ? void 0 : _e.length) && hasSubsetOption ? b`
|
|
753
|
-
<div class="section">
|
|
754
|
-
<h2 class="section-title">Output Format</h2>
|
|
755
|
-
|
|
756
|
-
${__privateMethod(this, _renderOutputFormatSelection, renderOutputFormatSelection_fn).call(this)}
|
|
757
|
-
</div>
|
|
758
|
-
` : A}
|
|
759
|
-
<div class="section">
|
|
760
|
-
<h2 class="section-title">Subset Options</h2>
|
|
761
|
-
<p style="color: #666; margin-bottom: 16px;">
|
|
762
|
-
Generate file links that support spatial subsetting,
|
|
763
|
-
date/time range selection, and variable selection.
|
|
764
|
-
</p>
|
|
765
|
-
|
|
766
|
-
${((_f = this.collectionWithServices) == null ? void 0 : _f.summary.subsetting.temporal) ? __privateMethod(this, _renderDateRangeSelection, renderDateRangeSelection_fn).call(this) : A}
|
|
767
|
-
${__privateMethod(this, _hasSpatialSubset, hasSpatialSubset_fn).call(this) ? __privateMethod(this, _renderSpatialSelection, renderSpatialSelection_fn).call(this) : A}
|
|
768
|
-
${((_g = this.collectionWithServices) == null ? void 0 : _g.summary.subsetting.variable) ? __privateMethod(this, _renderVariableSelection, renderVariableSelection_fn).call(this) : A}
|
|
769
|
-
${((_h = this.collectionWithServices) == null ? void 0 : _h.summary.subsetting.variable) && isFeatureEnabled(
|
|
770
|
-
KnownFeatureFlags.DIMENSION_SUBSET,
|
|
771
|
-
this.features
|
|
772
|
-
) ? __privateMethod(this, _renderDimensionSelection, renderDimensionSelection_fn).call(this) : A}
|
|
773
|
-
</div>
|
|
774
|
-
` : b`
|
|
775
|
-
${showTemporalSection && !((_i = this.collectionWithServices) == null ? void 0 : _i.summary.subsetting.temporal) ? __privateMethod(this, _renderAvailableTemporalRangeSection, renderAvailableTemporalRangeSection_fn).call(this) : A}
|
|
776
|
-
${showSpatialSection && !__privateMethod(this, _hasSpatialSubset, hasSpatialSubset_fn).call(this) ? __privateMethod(this, _renderAvailableSpatialRangeSection, renderAvailableSpatialRangeSection_fn).call(this) : A}
|
|
777
|
-
`}
|
|
778
|
-
${!hasSubsetOption && estimates ? b`
|
|
779
|
-
<div
|
|
780
|
-
class="neutral-info"
|
|
781
|
-
style="margin-top: 24px; padding: 16px 20px; border-radius: 6px; background: #f8f9fa; color: #555; border: 1px solid #ccc;"
|
|
782
|
-
>
|
|
783
|
-
<strong>Estimated result size:</strong><br />
|
|
784
|
-
Your request will return approximately
|
|
785
|
-
<b>${estimates.links.toLocaleString()}</b> files covering
|
|
786
|
-
<b>${estimates.days.toLocaleString()}</b> days.
|
|
787
|
-
</div>
|
|
788
|
-
` : A}
|
|
789
|
-
${this.dataAccessMode === "subset" && !this.dialog ? b`
|
|
790
|
-
<div class="footer">
|
|
791
|
-
<button class="btn btn-secondary" @click=${__privateGet(this, _resetAllParameters)}>Reset All</button>
|
|
792
|
-
<div>
|
|
793
|
-
<button
|
|
794
|
-
class="btn btn-primary"
|
|
795
|
-
@click=${__privateMethod(this, _getData, getData_fn)}
|
|
796
|
-
>
|
|
797
|
-
Get Data
|
|
798
|
-
</button>
|
|
799
|
-
${this.jobId ? b`
|
|
800
|
-
<terra-button
|
|
801
|
-
variant="default"
|
|
802
|
-
@click=${__privateMethod(this, _viewRunningJob, viewRunningJob_fn)}
|
|
803
|
-
>
|
|
804
|
-
View Running Job
|
|
805
|
-
</terra-button>
|
|
806
|
-
` : A}
|
|
807
|
-
</div>
|
|
808
|
-
</div>
|
|
809
|
-
</div>
|
|
810
|
-
</div>
|
|
811
|
-
` : A}
|
|
812
|
-
`;
|
|
813
|
-
};
|
|
814
|
-
_resetAllParameters = new WeakMap();
|
|
815
|
-
_renderSearchForCollection = new WeakSet();
|
|
816
|
-
renderSearchForCollection_fn = function() {
|
|
817
|
-
var _a, _b;
|
|
818
|
-
let placeholder = "Search all types of resources (e.g. rainfall, GPM, hurricanes, etc.)";
|
|
819
|
-
if (this.collectionSearchType === "collection") {
|
|
820
|
-
placeholder = "Search collections (e.g. AQUA, GPM_3IMERGH, etc.)";
|
|
821
|
-
}
|
|
822
|
-
if (this.collectionSearchType === "variable") {
|
|
823
|
-
placeholder = "Search variables (e.g. rainfall, hurricanes, etc.)";
|
|
824
|
-
}
|
|
825
|
-
return b`
|
|
826
|
-
<terra-accordion .open=${this.collectionAccordionOpen}>
|
|
827
|
-
<div slot="summary">
|
|
828
|
-
<span class="accordion-title">Collection:</span>
|
|
829
|
-
</div>
|
|
830
|
-
|
|
831
|
-
<div
|
|
832
|
-
slot="summary-right"
|
|
833
|
-
style="display: flex; align-items: center; gap: 10px"
|
|
834
|
-
>
|
|
835
|
-
${this.collectionEntryId ? b` <span
|
|
836
|
-
class="accordion-value"
|
|
837
|
-
id="selected-collection-display"
|
|
838
|
-
>${this.collectionEntryId}</span
|
|
839
|
-
>
|
|
840
|
-
|
|
841
|
-
<button
|
|
842
|
-
class="reset-btn"
|
|
843
|
-
@click=${() => this.collectionEntryId = void 0}
|
|
844
|
-
>
|
|
845
|
-
Reset
|
|
846
|
-
</button>` : A}
|
|
847
|
-
</div>
|
|
848
|
-
|
|
849
|
-
<div class="search-tabs-mini">
|
|
850
|
-
<button
|
|
851
|
-
class="search-tab-mini ${this.collectionSearchType === "all" ? "active" : ""}"
|
|
852
|
-
@click=${() => this.collectionSearchType = "all"}
|
|
853
|
-
>
|
|
854
|
-
All
|
|
855
|
-
</button>
|
|
856
|
-
<button
|
|
857
|
-
class="search-tab-mini ${this.collectionSearchType === "collection" ? "active" : ""}"
|
|
858
|
-
@click=${() => this.collectionSearchType = "collection"}
|
|
859
|
-
>
|
|
860
|
-
Collections
|
|
861
|
-
</button>
|
|
862
|
-
<button
|
|
863
|
-
class="search-tab-mini ${this.collectionSearchType === "variable" ? "active" : ""}"
|
|
864
|
-
@click=${() => this.collectionSearchType = "variable"}
|
|
865
|
-
>
|
|
866
|
-
Variables
|
|
867
|
-
</button>
|
|
868
|
-
</div>
|
|
869
|
-
|
|
870
|
-
<div class="search-container-mini">
|
|
871
|
-
<input
|
|
872
|
-
type="text"
|
|
873
|
-
class="search-input-mini"
|
|
874
|
-
id="search-input"
|
|
875
|
-
placeholder=${placeholder}
|
|
876
|
-
@input="${(e2) => this.handleCollectionSearch(
|
|
877
|
-
e2.target.value
|
|
878
|
-
)}"
|
|
879
|
-
/>
|
|
880
|
-
|
|
881
|
-
<button class="search-button-mini">
|
|
882
|
-
<svg
|
|
883
|
-
class="search-icon-mini"
|
|
884
|
-
viewBox="0 0 24 24"
|
|
885
|
-
fill="currentColor"
|
|
886
|
-
>
|
|
887
|
-
<path
|
|
888
|
-
d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"
|
|
889
|
-
/>
|
|
890
|
-
</svg>
|
|
891
|
-
Search
|
|
892
|
-
</button>
|
|
893
|
-
</div>
|
|
894
|
-
|
|
895
|
-
<!-- TODO: it may be nice to have a quick search, perhaps by recent trends?
|
|
896
|
-
<div class="quick-links-mini">
|
|
897
|
-
<a href="#" class="quick-link-mini" onclick="quickSearch('GPM')"
|
|
898
|
-
>GPM Precipitation</a
|
|
899
|
-
>
|
|
900
|
-
<a href="#" class="quick-link-mini" onclick="quickSearch('MODIS')"
|
|
901
|
-
>MODIS Data</a
|
|
902
|
-
>
|
|
903
|
-
<a
|
|
904
|
-
href="#"
|
|
905
|
-
class="quick-link-mini"
|
|
906
|
-
onclick="quickSearch('Landsat')"
|
|
907
|
-
>Landsat Imagery</a
|
|
908
|
-
>
|
|
909
|
-
<a href="#" class="quick-link-mini" onclick="quickSearch('AIRS')"
|
|
910
|
-
>Atmospheric Data</a
|
|
911
|
-
>
|
|
912
|
-
</div>
|
|
913
|
-
-->
|
|
914
|
-
|
|
915
|
-
<div id="search-results-section" class="search-results-section">
|
|
916
|
-
${this.collectionSearchLoading ? b`
|
|
917
|
-
<div id="loading-mini" class="loading-mini">
|
|
918
|
-
<div class="spinner-mini"></div>
|
|
919
|
-
<div>Searching NASA CMR...</div>
|
|
920
|
-
</div>
|
|
921
|
-
` : ((_a = this.collectionSearchResults) == null ? void 0 : _a.length) ? b` <div
|
|
922
|
-
id="results-container-mini"
|
|
923
|
-
class="results-container-mini"
|
|
924
|
-
>
|
|
925
|
-
${(_b = this.collectionSearchResults) == null ? void 0 : _b.map(
|
|
926
|
-
(item) => b`
|
|
927
|
-
<div
|
|
928
|
-
class="result-item-mini"
|
|
929
|
-
@click=${() => {
|
|
930
|
-
this.collectionEntryId = item.collectionEntryId;
|
|
931
|
-
this.collectionAccordionOpen = false;
|
|
932
|
-
this.collectionLoading = true;
|
|
933
|
-
if (item.type === "variable") {
|
|
934
|
-
this.selectedVariables = [
|
|
935
|
-
{
|
|
936
|
-
name: item.entryId,
|
|
937
|
-
href: "",
|
|
938
|
-
conceptId: item.conceptId
|
|
939
|
-
}
|
|
940
|
-
];
|
|
941
|
-
}
|
|
942
|
-
this.requestUpdate();
|
|
943
|
-
}}
|
|
944
|
-
style="cursor: pointer;"
|
|
945
|
-
>
|
|
946
|
-
<div class="result-title-mini">
|
|
947
|
-
${item.title}
|
|
948
|
-
</div>
|
|
949
|
-
<div class="result-id-mini">
|
|
950
|
-
${item.entryId}
|
|
951
|
-
</div>
|
|
952
|
-
<div class="result-description-mini">
|
|
953
|
-
${item.summary || item.title}
|
|
954
|
-
</div>
|
|
955
|
-
<div class="result-meta-mini">
|
|
956
|
-
<span>📅 2000-02-24 - ongoing</span>
|
|
957
|
-
<span>🌍 Global</span>
|
|
958
|
-
<span>🏢 ${item.provider}</span>
|
|
959
|
-
${item.type === "variable" ? b` <span
|
|
960
|
-
>📊
|
|
961
|
-
${item.collectionEntryId}</span
|
|
962
|
-
>` : A}
|
|
963
|
-
<span class="tag-mini"
|
|
964
|
-
>${item.type.toUpperCase()}</span
|
|
965
|
-
>
|
|
966
|
-
</div>
|
|
967
|
-
</div>
|
|
968
|
-
`
|
|
969
|
-
)}
|
|
970
|
-
</div>` : this.collectionSearchResults && this.collectionSearchResults.length === 0 ? b`<div id="no-results-mini" class="no-results-mini">
|
|
971
|
-
<p>
|
|
972
|
-
No results found for
|
|
973
|
-
'${this.collectionSearchQuery}'. Try adjusting
|
|
974
|
-
your search term.
|
|
975
|
-
</p>
|
|
976
|
-
</div>` : A}
|
|
977
|
-
</div>
|
|
978
|
-
</terra-accordion>
|
|
979
|
-
|
|
980
|
-
${this.collectionLoading ? b`
|
|
981
|
-
<div
|
|
982
|
-
class="collection-loading-bar"
|
|
983
|
-
style="display: flex; align-items: center; gap: 10px; margin: 16px 0;"
|
|
984
|
-
>
|
|
985
|
-
<span
|
|
986
|
-
class="loading-spinner"
|
|
987
|
-
style="width: 20px; height: 20px; border: 3px solid #ccc; border-top: 3px solid #31708f; border-radius: 50%; display: inline-block; animation: spin 1s linear infinite;"
|
|
988
|
-
></span>
|
|
989
|
-
Retrieving collection, please wait...
|
|
990
|
-
</div>
|
|
991
|
-
<style>
|
|
992
|
-
@keyframes spin {
|
|
993
|
-
0% {
|
|
994
|
-
transform: rotate(0deg);
|
|
995
|
-
}
|
|
996
|
-
100% {
|
|
997
|
-
transform: rotate(360deg);
|
|
998
|
-
}
|
|
999
|
-
}
|
|
1000
|
-
</style>
|
|
1001
|
-
` : A}
|
|
1002
|
-
`;
|
|
1003
|
-
};
|
|
1004
|
-
_renderOutputFormatSelection = new WeakSet();
|
|
1005
|
-
renderOutputFormatSelection_fn = function() {
|
|
1006
|
-
return b`
|
|
1007
|
-
<terra-accordion>
|
|
1008
|
-
<div slot="summary">
|
|
1009
|
-
<span class="accordion-title">File Format:</span>
|
|
1010
|
-
</div>
|
|
1011
|
-
|
|
1012
|
-
<div
|
|
1013
|
-
slot="summary-right"
|
|
1014
|
-
style="display: flex; align-items: center; gap: 10px;"
|
|
1015
|
-
>
|
|
1016
|
-
<span>${this.selectedFormat.label}</span>
|
|
1017
|
-
|
|
1018
|
-
<button class="reset-btn" @click=${__privateGet(this, _resetFormatSelection)}>
|
|
1019
|
-
Reset
|
|
1020
|
-
</button>
|
|
1021
|
-
</div>
|
|
1022
|
-
|
|
1023
|
-
<div class="accordion-content" style="margin-top: 12px;">
|
|
1024
|
-
${(() => {
|
|
1025
|
-
var _a;
|
|
1026
|
-
return (((_a = this.collectionWithServices) == null ? void 0 : _a.configuredOutputFormats) || []).map(
|
|
1027
|
-
(format) => b`
|
|
1028
|
-
<label
|
|
1029
|
-
style="display: flex; align-items: center; gap: 8px; padding: 5px;"
|
|
1030
|
-
>
|
|
1031
|
-
<input
|
|
1032
|
-
type="radio"
|
|
1033
|
-
name="output-format"
|
|
1034
|
-
value="${format}"
|
|
1035
|
-
.checked=${this.selectedFormat === format}
|
|
1036
|
-
@change=${() => this.selectedFormat = format}
|
|
1037
|
-
/>
|
|
1038
|
-
${format.label}
|
|
1039
|
-
</label>
|
|
1040
|
-
`
|
|
1041
|
-
);
|
|
1042
|
-
})()}
|
|
1043
|
-
</div>
|
|
1044
|
-
</terra-accordion>
|
|
1045
|
-
`;
|
|
1046
|
-
};
|
|
1047
|
-
_renderDateRangeSelection = new WeakSet();
|
|
1048
|
-
renderDateRangeSelection_fn = function() {
|
|
1049
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
1050
|
-
const { startDate: defaultStartDate, endDate: defaultEndDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
|
|
1051
|
-
const startDate = (_b = (_a = this.selectedDateRange.startDate) != null ? _a : this.granuleMinDate) != null ? _b : defaultStartDate;
|
|
1052
|
-
const endDate = (_d = (_c = this.selectedDateRange.endDate) != null ? _c : this.granuleMaxDate) != null ? _d : defaultEndDate;
|
|
1053
|
-
const showError = this.touchedFields.has("date") && (!this.selectedDateRange.startDate || !this.selectedDateRange.endDate);
|
|
1054
|
-
return b`
|
|
1055
|
-
<terra-accordion>
|
|
1056
|
-
<div slot="summary">
|
|
1057
|
-
<span class="accordion-title">Refine Date Range:</span>
|
|
1058
|
-
</div>
|
|
1059
|
-
|
|
1060
|
-
<div
|
|
1061
|
-
slot="summary-right"
|
|
1062
|
-
style="display: flex; align-items: center; gap: 10px;"
|
|
1063
|
-
>
|
|
1064
|
-
${showError ? b`<span class="accordion-value error"
|
|
1065
|
-
>Please select a date range</span
|
|
1066
|
-
>` : this.touchedFields.has("date") && startDate && endDate ? b`<span class="accordion-value"
|
|
1067
|
-
>${startDate} to ${endDate}</span
|
|
1068
|
-
>` : A}
|
|
1069
|
-
<button class="reset-btn" @click=${__privateGet(this, _resetDateRangeSelection)}>
|
|
1070
|
-
Reset
|
|
1071
|
-
</button>
|
|
1072
|
-
</div>
|
|
1073
|
-
|
|
1074
|
-
<div style="width: 300px">
|
|
1075
|
-
<terra-date-picker
|
|
1076
|
-
allow-input
|
|
1077
|
-
inline
|
|
1078
|
-
range
|
|
1079
|
-
split-inputs
|
|
1080
|
-
show-presets
|
|
1081
|
-
?enable-time=${this.isSubDaily}
|
|
1082
|
-
start-label="Start Date"
|
|
1083
|
-
end-label="End Date"
|
|
1084
|
-
.minDate=${(_e = this.granuleMinDate) != null ? _e : defaultStartDate}
|
|
1085
|
-
.maxDate=${(_f = this.granuleMaxDate) != null ? _f : defaultEndDate}
|
|
1086
|
-
.startDate=${(_g = this.selectedDateRange.startDate) != null ? _g : this.granuleMinDate}
|
|
1087
|
-
.endDate=${(_h = this.selectedDateRange.endDate) != null ? _h : this.granuleMaxDate}
|
|
1088
|
-
.useEndOfDay=${!this.selectedFormat.isGiovanniFormat}
|
|
1089
|
-
@terra-date-range-change=${__privateGet(this, _handleDateChange)}
|
|
1090
|
-
></terra-date-picker>
|
|
1091
|
-
</div>
|
|
1092
|
-
|
|
1093
|
-
<div
|
|
1094
|
-
style="display: flex; gap: 16px; margin-top: 15px; color: #31708f;"
|
|
1095
|
-
>
|
|
1096
|
-
<span
|
|
1097
|
-
><strong>Available Range:</strong> ${defaultStartDate} to
|
|
1098
|
-
${defaultEndDate}</span
|
|
1099
|
-
>
|
|
1100
|
-
${this.isSubDaily ? b`<span
|
|
1101
|
-
><strong>Note:</strong> All dates and times are in
|
|
1102
|
-
UTC.</span
|
|
1103
|
-
>` : A}
|
|
1104
|
-
</div>
|
|
1105
|
-
</terra-accordion>
|
|
1106
|
-
`;
|
|
1107
|
-
};
|
|
1108
|
-
_handleDateChange = new WeakMap();
|
|
1109
|
-
_resetDateRangeSelection = new WeakMap();
|
|
1110
|
-
_resetFormatSelection = new WeakMap();
|
|
1111
|
-
_getCollectionDateRange = new WeakSet();
|
|
1112
|
-
getCollectionDateRange_fn = function() {
|
|
1113
|
-
var _a, _b;
|
|
1114
|
-
const samplingMinDate = this.granuleMinDate;
|
|
1115
|
-
const samplingMaxDate = this.granuleMaxDate;
|
|
1116
|
-
if (samplingMinDate && samplingMaxDate) {
|
|
1117
|
-
return {
|
|
1118
|
-
startDate: samplingMinDate.slice(0, 10),
|
|
1119
|
-
endDate: samplingMaxDate.slice(0, 10)
|
|
1120
|
-
};
|
|
1121
|
-
}
|
|
1122
|
-
const temporalExtents = (_b = (_a = this.collectionWithServices) == null ? void 0 : _a.collection) == null ? void 0 : _b.TemporalExtents;
|
|
1123
|
-
if (!(temporalExtents == null ? void 0 : temporalExtents.length))
|
|
1124
|
-
return {
|
|
1125
|
-
startDate: null,
|
|
1126
|
-
endDate: null
|
|
1127
|
-
};
|
|
1128
|
-
let minStart = null;
|
|
1129
|
-
let maxEnd = null;
|
|
1130
|
-
const today = /* @__PURE__ */ new Date();
|
|
1131
|
-
for (const temporal of temporalExtents) {
|
|
1132
|
-
for (const range of temporal.RangeDateTimes || []) {
|
|
1133
|
-
const start = new Date(range.BeginningDateTime);
|
|
1134
|
-
let end;
|
|
1135
|
-
if (temporal.EndsAtPresentFlag || !range.EndingDateTime) {
|
|
1136
|
-
end = today;
|
|
1137
|
-
} else {
|
|
1138
|
-
end = new Date(range.EndingDateTime);
|
|
1139
|
-
}
|
|
1140
|
-
if (!minStart || start < minStart)
|
|
1141
|
-
minStart = start;
|
|
1142
|
-
if (!maxEnd || end > maxEnd)
|
|
1143
|
-
maxEnd = end;
|
|
1144
|
-
}
|
|
1145
|
-
}
|
|
1146
|
-
return {
|
|
1147
|
-
startDate: minStart ? minStart.toISOString().slice(0, 10) : null,
|
|
1148
|
-
endDate: maxEnd ? maxEnd.toISOString().slice(0, 10) : null
|
|
1149
|
-
};
|
|
1150
|
-
};
|
|
1151
|
-
_renderSpatialSelection = new WeakSet();
|
|
1152
|
-
renderSpatialSelection_fn = function() {
|
|
1153
|
-
var _a, _b;
|
|
1154
|
-
const showError = this.touchedFields.has("spatial") && !this.spatialSelection;
|
|
1155
|
-
const spatialString = (_b = (_a = this.spatialSelection) == null ? void 0 : _a.toString()) != null ? _b : this.spatialSelection;
|
|
1156
|
-
return b`
|
|
1157
|
-
<terra-accordion>
|
|
1158
|
-
<div slot="summary">
|
|
1159
|
-
<span class="accordion-title">Refine Region:</span>
|
|
1160
|
-
</div>
|
|
1161
|
-
|
|
1162
|
-
<div
|
|
1163
|
-
slot="summary-right"
|
|
1164
|
-
style="display: flex; align-items: center; gap: 10px;"
|
|
1165
|
-
>
|
|
1166
|
-
${showError ? b`<span class="accordion-value error"
|
|
1167
|
-
>Please select a region</span
|
|
1168
|
-
>` : spatialString ? b`<span class="accordion-value"
|
|
1169
|
-
>${spatialString}</span
|
|
1170
|
-
>` : A}
|
|
1171
|
-
<button class="reset-btn" @click=${__privateGet(this, _resetSpatialSelection)}>
|
|
1172
|
-
Reset
|
|
1173
|
-
</button>
|
|
1174
|
-
</div>
|
|
1175
|
-
<div class="accordion-content">
|
|
1176
|
-
<terra-spatial-picker
|
|
1177
|
-
part="spatial-picker"
|
|
1178
|
-
inline
|
|
1179
|
-
hide-label
|
|
1180
|
-
.spatialConstraints=${__privateGet(this, _collectionController).spatialConstraints || "-180, -90, 180, 90"}
|
|
1181
|
-
.initialValue=${spatialString}
|
|
1182
|
-
@terra-map-change=${__privateGet(this, _handleSpatialChange)}
|
|
1183
|
-
></terra-spatial-picker>
|
|
1184
|
-
<div
|
|
1185
|
-
style="display: flex; gap: 16px; margin-top: 15px; color: #31708f;"
|
|
1186
|
-
>
|
|
1187
|
-
<span
|
|
1188
|
-
><strong>Available Range:</strong> ${__privateGet(this, _collectionController).spatialConstraints}</span
|
|
1189
|
-
>
|
|
1190
|
-
</div>
|
|
1191
|
-
</div>
|
|
1192
|
-
</terra-accordion>
|
|
1193
|
-
`;
|
|
1194
|
-
};
|
|
1195
|
-
_handleSpatialChange = new WeakMap();
|
|
1196
|
-
_resetSpatialSelection = new WeakMap();
|
|
1197
|
-
_renderVariableSelection = new WeakSet();
|
|
1198
|
-
renderVariableSelection_fn = function() {
|
|
1199
|
-
var _a;
|
|
1200
|
-
const variables = ((_a = this.collectionWithServices) == null ? void 0 : _a.variables) || [];
|
|
1201
|
-
const giovanniError = this.touchedFields.has("variables") && __privateMethod(this, _getGiovanniValidationError, getGiovanniValidationError_fn).call(this);
|
|
1202
|
-
const basicError = this.touchedFields.has("variables") && this.selectedVariables.length === 0;
|
|
1203
|
-
const showError = giovanniError || basicError;
|
|
1204
|
-
const errorMessage = giovanniError || (basicError ? "Please select at least one variable" : "");
|
|
1205
|
-
const tree = __privateMethod(this, _buildVariableTree, buildVariableTree_fn).call(this, variables);
|
|
1206
|
-
const allGroups = __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, tree);
|
|
1207
|
-
const allExpanded = allGroups.length > 0 && allGroups.every((g) => this.expandedVariableGroups.has(g));
|
|
1208
|
-
return b`
|
|
1209
|
-
<terra-accordion>
|
|
1210
|
-
<div slot="summary">
|
|
1211
|
-
<span class="accordion-title">Select Variables:</span>
|
|
1212
|
-
</div>
|
|
1213
|
-
<div
|
|
1214
|
-
slot="summary-right"
|
|
1215
|
-
style="display: flex; align-items: center; gap: 10px;"
|
|
1216
|
-
>
|
|
1217
|
-
${showError ? b`<span class="accordion-value error"
|
|
1218
|
-
>${errorMessage}</span
|
|
1219
|
-
>` : this.selectedVariables.length ? b`<span class="accordion-value"
|
|
1220
|
-
>${this.selectedVariables.length} selected</span
|
|
1221
|
-
>` : A}
|
|
1222
|
-
|
|
1223
|
-
<button class="reset-btn" @click=${__privateGet(this, _resetVariableSelection)}>
|
|
1224
|
-
Reset
|
|
1225
|
-
</button>
|
|
1226
|
-
</div>
|
|
1227
|
-
<div class="accordion-content">
|
|
1228
|
-
<terra-input
|
|
1229
|
-
label="Filter variables"
|
|
1230
|
-
placeholder="Search by variable name..."
|
|
1231
|
-
.value=${this.variableFilterText}
|
|
1232
|
-
@input=${(e2) => {
|
|
1233
|
-
const input = e2.target;
|
|
1234
|
-
this.variableFilterText = input.value;
|
|
1235
|
-
__privateMethod(this, _handleVariableFilterChange, handleVariableFilterChange_fn).call(this);
|
|
1236
|
-
}}
|
|
1237
|
-
style="margin-bottom: 10px;"
|
|
1238
|
-
></terra-input>
|
|
1239
|
-
<button
|
|
1240
|
-
class="reset-btn"
|
|
1241
|
-
style="margin-bottom: 10px;"
|
|
1242
|
-
@click=${() => __privateMethod(this, _toggleExpandCollapseAll, toggleExpandCollapseAll_fn).call(this, tree)}
|
|
1243
|
-
>
|
|
1244
|
-
${allExpanded ? "Collapse Tree" : "Expand Tree"}
|
|
1245
|
-
</button>
|
|
1246
|
-
|
|
1247
|
-
${this.selectedFormat.isGiovanniFormat && this.giovanniConfiguredVariables ? b`
|
|
1248
|
-
<terra-alert
|
|
1249
|
-
open
|
|
1250
|
-
appearance="white"
|
|
1251
|
-
style="margin: 10px 0"
|
|
1252
|
-
>
|
|
1253
|
-
<terra-icon
|
|
1254
|
-
slot="icon"
|
|
1255
|
-
name="outline-information-circle"
|
|
1256
|
-
library="heroicons"
|
|
1257
|
-
></terra-icon>
|
|
1258
|
-
Only certain variables are supported for the
|
|
1259
|
-
selected output format. (Giovanni service)
|
|
1260
|
-
</terra-alert>
|
|
1261
|
-
` : A}
|
|
1262
|
-
${variables.length === 0 ? b`<p style="color: #666; font-style: italic;">
|
|
1263
|
-
No variables available for this collection.
|
|
1264
|
-
</p>` : __privateMethod(this, _renderVariableTree, renderVariableTree_fn).call(this, __privateMethod(this, _filterVariableTree, filterVariableTree_fn).call(this, tree), [])}
|
|
1265
|
-
</div>
|
|
1266
|
-
</terra-accordion>
|
|
1267
|
-
`;
|
|
1268
|
-
};
|
|
1269
|
-
_renderDimensionGroup = new WeakSet();
|
|
1270
|
-
renderDimensionGroup_fn = function(dim) {
|
|
1271
|
-
var _a, _b, _c, _d, _e, _f;
|
|
1272
|
-
const currentValue = (_a = this.selectedDimensionIndexes[dim.name]) != null ? _a : 1;
|
|
1273
|
-
const dimensions = ((_f = (_e = (_d = (_c = (_b = __privateGet(this, _collectionController).gesDiscCollection) == null ? void 0 : _b.data) == null ? void 0 : _c.services) == null ? void 0 : _d.subset) == null ? void 0 : _e.find(
|
|
1274
|
-
(s) => s.dimensions && s.dimensions.length > 0
|
|
1275
|
-
)) == null ? void 0 : _f.dimensions) || [];
|
|
1276
|
-
return b`
|
|
1277
|
-
<div style="margin-bottom: 16px;">
|
|
1278
|
-
<div
|
|
1279
|
-
style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px;"
|
|
1280
|
-
>
|
|
1281
|
-
<span style="font-weight: 600; margin-bottom: 44px"
|
|
1282
|
-
>Dimension: ${dim.name}</span
|
|
1283
|
-
>
|
|
1284
|
-
</div>
|
|
1285
|
-
<terra-slider
|
|
1286
|
-
class="dimension-slider"
|
|
1287
|
-
mode="range"
|
|
1288
|
-
min="1"
|
|
1289
|
-
.max=${dim.size}
|
|
1290
|
-
step="1"
|
|
1291
|
-
.startValue=${currentValue.start}
|
|
1292
|
-
.endValue=${currentValue.end}
|
|
1293
|
-
has-tooltips
|
|
1294
|
-
show-inputs
|
|
1295
|
-
hide-label
|
|
1296
|
-
.formatTooltip=${dimensions.length > 0 ? (value) => {
|
|
1297
|
-
const found = dimensions.find(
|
|
1298
|
-
(d) => String(d.value) === String(value)
|
|
1299
|
-
);
|
|
1300
|
-
return found ? found.label : String(value);
|
|
1301
|
-
} : A}
|
|
1302
|
-
@terra-slider-change=${(event) => {
|
|
1303
|
-
if ("startValue" in event.detail) {
|
|
1304
|
-
const { startValue, endValue } = event.detail;
|
|
1305
|
-
__privateMethod(this, _setDimensionValue, setDimensionValue_fn).call(this, dim.name, startValue, endValue);
|
|
1306
|
-
}
|
|
1307
|
-
}}
|
|
1308
|
-
></terra-slider>
|
|
1309
|
-
</div>
|
|
1310
|
-
`;
|
|
1311
|
-
};
|
|
1312
|
-
_setDimensionValue = new WeakSet();
|
|
1313
|
-
setDimensionValue_fn = function(dimName, startValue, endValue) {
|
|
1314
|
-
const dimensions = __privateMethod(this, _getCommonSelectableDimensions, getCommonSelectableDimensions_fn).call(this);
|
|
1315
|
-
const found = dimensions.find((d) => d.name === dimName);
|
|
1316
|
-
if (!found) {
|
|
1317
|
-
return;
|
|
1318
|
-
}
|
|
1319
|
-
const normalizedStartValue = Math.min(
|
|
1320
|
-
Math.max(Math.round(startValue), 1),
|
|
1321
|
-
found.size
|
|
1322
|
-
);
|
|
1323
|
-
const normalizedEndValue = Math.min(
|
|
1324
|
-
Math.max(Math.round(endValue != null ? endValue : startValue), 1),
|
|
1325
|
-
found.size
|
|
1326
|
-
);
|
|
1327
|
-
if (normalizedStartValue <= 1 && normalizedEndValue >= found.size) {
|
|
1328
|
-
delete this.selectedDimensionIndexes[dimName];
|
|
1329
|
-
return;
|
|
1330
|
-
}
|
|
1331
|
-
this.selectedDimensionIndexes = __spreadProps(__spreadValues({}, this.selectedDimensionIndexes), {
|
|
1332
|
-
[dimName]: { start: normalizedStartValue, end: normalizedEndValue }
|
|
1333
|
-
});
|
|
1334
|
-
};
|
|
1335
|
-
_renderDimensionSelection = new WeakSet();
|
|
1336
|
-
renderDimensionSelection_fn = function() {
|
|
1337
|
-
const dimensions = __privateMethod(this, _getCommonSelectableDimensions, getCommonSelectableDimensions_fn).call(this);
|
|
1338
|
-
if (!dimensions.length) {
|
|
1339
|
-
return A;
|
|
1340
|
-
}
|
|
1341
|
-
const selectedCount = Object.keys(this.selectedDimensionIndexes).length;
|
|
1342
|
-
return b`
|
|
1343
|
-
<terra-accordion>
|
|
1344
|
-
<div slot="summary">
|
|
1345
|
-
<span class="accordion-title">Select Dimensions:</span>
|
|
1346
|
-
</div>
|
|
1347
|
-
<div
|
|
1348
|
-
slot="summary-right"
|
|
1349
|
-
style="display: flex; align-items: center; gap: 10px;"
|
|
1350
|
-
>
|
|
1351
|
-
${selectedCount ? b`<span class="accordion-value"
|
|
1352
|
-
>${selectedCount}
|
|
1353
|
-
dimension${selectedCount === 1 ? "" : "s"}
|
|
1354
|
-
selected</span
|
|
1355
|
-
>` : A}
|
|
1356
|
-
<button class="reset-btn" @click=${__privateMethod(this, _resetDimensionSelection, resetDimensionSelection_fn)}>
|
|
1357
|
-
Reset
|
|
1358
|
-
</button>
|
|
1359
|
-
</div>
|
|
1360
|
-
<div class="accordion-content">
|
|
1361
|
-
${dimensions.map((dim) => __privateMethod(this, _renderDimensionGroup, renderDimensionGroup_fn).call(this, dim))}
|
|
1362
|
-
</div>
|
|
1363
|
-
</terra-accordion>
|
|
1364
|
-
`;
|
|
1365
|
-
};
|
|
1366
|
-
_filterVariableTree = new WeakSet();
|
|
1367
|
-
filterVariableTree_fn = function(tree) {
|
|
1368
|
-
if (!this.variableFilterText.trim()) {
|
|
1369
|
-
return tree;
|
|
1370
|
-
}
|
|
1371
|
-
const filterText = this.variableFilterText.toLowerCase().trim();
|
|
1372
|
-
const filterNode = (node) => {
|
|
1373
|
-
const result = {};
|
|
1374
|
-
for (const [key, value] of Object.entries(node)) {
|
|
1375
|
-
if (value.__isLeaf) {
|
|
1376
|
-
const variableName = value.__variable.name.toLowerCase();
|
|
1377
|
-
if (variableName.includes(filterText)) {
|
|
1378
|
-
result[key] = value;
|
|
1379
|
-
}
|
|
1380
|
-
} else {
|
|
1381
|
-
const filteredChildren = filterNode(value.__children);
|
|
1382
|
-
if (Object.keys(filteredChildren).length > 0 || key.toLowerCase().includes(filterText)) {
|
|
1383
|
-
result[key] = __spreadProps(__spreadValues({}, value), {
|
|
1384
|
-
__children: filteredChildren
|
|
1385
|
-
});
|
|
1386
|
-
}
|
|
1387
|
-
}
|
|
1388
|
-
}
|
|
1389
|
-
return result;
|
|
1390
|
-
};
|
|
1391
|
-
return filterNode(tree);
|
|
1392
|
-
};
|
|
1393
|
-
_handleVariableFilterChange = new WeakSet();
|
|
1394
|
-
handleVariableFilterChange_fn = function() {
|
|
1395
|
-
var _a;
|
|
1396
|
-
if (!this.variableFilterText.trim()) {
|
|
1397
|
-
return;
|
|
1398
|
-
}
|
|
1399
|
-
const variables = ((_a = this.collectionWithServices) == null ? void 0 : _a.variables) || [];
|
|
1400
|
-
const tree = __privateMethod(this, _buildVariableTree, buildVariableTree_fn).call(this, variables);
|
|
1401
|
-
const filterText = this.variableFilterText.toLowerCase().trim();
|
|
1402
|
-
const groupsToExpand = /* @__PURE__ */ new Set();
|
|
1403
|
-
const findMatchingGroups = (node, path = []) => {
|
|
1404
|
-
for (const [key, value] of Object.entries(node)) {
|
|
1405
|
-
if (value.__isLeaf) {
|
|
1406
|
-
const variableName = value.__variable.name.toLowerCase();
|
|
1407
|
-
if (variableName.includes(filterText)) {
|
|
1408
|
-
for (let i = 0; i < path.length; i++) {
|
|
1409
|
-
const groupPath = path.slice(0, i + 1).join("/");
|
|
1410
|
-
groupsToExpand.add(groupPath);
|
|
1411
|
-
}
|
|
1412
|
-
}
|
|
1413
|
-
} else {
|
|
1414
|
-
const groupPath = [...path, key].join("/");
|
|
1415
|
-
findMatchingGroups(value.__children, [...path, key]);
|
|
1416
|
-
if (key.toLowerCase().includes(filterText)) {
|
|
1417
|
-
groupsToExpand.add(groupPath);
|
|
1418
|
-
}
|
|
1419
|
-
}
|
|
1420
|
-
}
|
|
1421
|
-
};
|
|
1422
|
-
findMatchingGroups(tree);
|
|
1423
|
-
if (groupsToExpand.size > 0) {
|
|
1424
|
-
this.expandedVariableGroups = /* @__PURE__ */ new Set([
|
|
1425
|
-
...this.expandedVariableGroups,
|
|
1426
|
-
...groupsToExpand
|
|
1427
|
-
]);
|
|
1428
|
-
}
|
|
1429
|
-
};
|
|
1430
|
-
_buildVariableTree = new WeakSet();
|
|
1431
|
-
buildVariableTree_fn = function(variables) {
|
|
1432
|
-
let filteredVariables = variables;
|
|
1433
|
-
if (this.selectedFormat.isGiovanniFormat && this.giovanniConfiguredVariables) {
|
|
1434
|
-
filteredVariables = variables.filter((v) => {
|
|
1435
|
-
var _a, _b, _c;
|
|
1436
|
-
const shortName = (_a = this.collectionWithServices) == null ? void 0 : _a.shortName;
|
|
1437
|
-
const version = (_c = (_b = this.collectionWithServices) == null ? void 0 : _b.collection) == null ? void 0 : _c.Version;
|
|
1438
|
-
if (!shortName || !version) {
|
|
1439
|
-
return false;
|
|
1440
|
-
}
|
|
1441
|
-
const giovanniVariableName = convertVariableEntryIdToGiovanniFormat(
|
|
1442
|
-
shortName,
|
|
1443
|
-
version,
|
|
1444
|
-
v.name
|
|
1445
|
-
);
|
|
1446
|
-
return this.giovanniConfiguredVariables.has(giovanniVariableName);
|
|
1447
|
-
});
|
|
1448
|
-
}
|
|
1449
|
-
const root = {};
|
|
1450
|
-
for (const v of filteredVariables) {
|
|
1451
|
-
const parts = v.name.split("/");
|
|
1452
|
-
let node = root;
|
|
1453
|
-
for (let i = 0; i < parts.length; i++) {
|
|
1454
|
-
const part = parts[i];
|
|
1455
|
-
if (!node[part])
|
|
1456
|
-
node[part] = { __children: {}, __isLeaf: false };
|
|
1457
|
-
if (i === parts.length - 1) {
|
|
1458
|
-
node[part].__isLeaf = true;
|
|
1459
|
-
node[part].__variable = v;
|
|
1460
|
-
}
|
|
1461
|
-
node = node[part].__children;
|
|
1462
|
-
}
|
|
1463
|
-
}
|
|
1464
|
-
return root;
|
|
1465
|
-
};
|
|
1466
|
-
_renderVariableTree = new WeakSet();
|
|
1467
|
-
renderVariableTree_fn = function(node, path) {
|
|
1468
|
-
const isGiovanni = this.selectedFormat.isGiovanniFormat;
|
|
1469
|
-
return b`
|
|
1470
|
-
<div style="margin-left: ${path.length * 20}px;">
|
|
1471
|
-
${Object.entries(node).map(([key, value]) => {
|
|
1472
|
-
var _a;
|
|
1473
|
-
const groupPath = [...path, key].join("/");
|
|
1474
|
-
if (value.__isLeaf) {
|
|
1475
|
-
const ummVar = cmr_variable_service_default.getVariableByName(
|
|
1476
|
-
key,
|
|
1477
|
-
(_a = __privateGet(this, _collectionController).variables) == null ? void 0 : _a.data
|
|
1478
|
-
);
|
|
1479
|
-
const variableLabel = ummVar ? cmr_variable_service_default.getVariableDisplayLabel(ummVar) : key;
|
|
1480
|
-
return b`
|
|
1481
|
-
<div class="option-row">
|
|
1482
|
-
<label class="checkbox-option">
|
|
1483
|
-
<input
|
|
1484
|
-
type="${isGiovanni ? "radio" : "checkbox"}"
|
|
1485
|
-
name="${isGiovanni ? "variable-selection" : ""}"
|
|
1486
|
-
.checked=${this.selectedVariables.some(
|
|
1487
|
-
(v) => v.name === value.__variable.name
|
|
1488
|
-
)}
|
|
1489
|
-
@change=${(e2) => __privateMethod(this, _toggleVariableSelection, toggleVariableSelection_fn).call(this, e2, value.__variable)}
|
|
1490
|
-
/>
|
|
1491
|
-
<span>${variableLabel}</span>
|
|
1492
|
-
</label>
|
|
1493
|
-
</div>
|
|
1494
|
-
`;
|
|
1495
|
-
} else {
|
|
1496
|
-
const expanded = this.expandedVariableGroups.has(groupPath);
|
|
1497
|
-
return b`
|
|
1498
|
-
<div class="option-row" style="align-items: flex-start;">
|
|
1499
|
-
<span
|
|
1500
|
-
style="cursor: pointer; display: flex; align-items: center;"
|
|
1501
|
-
@click=${() => __privateMethod(this, _toggleGroupExpand, toggleGroupExpand_fn).call(this, groupPath)}
|
|
1502
|
-
>
|
|
1503
|
-
<terra-icon
|
|
1504
|
-
library="heroicons"
|
|
1505
|
-
name="${expanded ? "outline-minus-circle" : "outline-plus-circle"}"
|
|
1506
|
-
style="margin-right: 4px;"
|
|
1507
|
-
></terra-icon>
|
|
1508
|
-
<span style="font-weight: 500;">${key}</span>
|
|
1509
|
-
</span>
|
|
1510
|
-
</div>
|
|
1511
|
-
${expanded ? __privateMethod(this, _renderVariableTree, renderVariableTree_fn).call(this, value.__children, [
|
|
1512
|
-
...path,
|
|
1513
|
-
key
|
|
1514
|
-
]) : ""}
|
|
1515
|
-
`;
|
|
1516
|
-
}
|
|
1517
|
-
})}
|
|
1518
|
-
</div>
|
|
1519
|
-
`;
|
|
1520
|
-
};
|
|
1521
|
-
_getAllGroupPaths = new WeakSet();
|
|
1522
|
-
getAllGroupPaths_fn = function(node, path = []) {
|
|
1523
|
-
let groups = [];
|
|
1524
|
-
for (const [key, value] of Object.entries(node)) {
|
|
1525
|
-
if (!value.__isLeaf) {
|
|
1526
|
-
const groupPath = [...path, key].join("/");
|
|
1527
|
-
groups.push(groupPath);
|
|
1528
|
-
groups = groups.concat(
|
|
1529
|
-
__privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, value.__children, [...path, key])
|
|
1530
|
-
);
|
|
1531
|
-
}
|
|
1532
|
-
}
|
|
1533
|
-
return groups;
|
|
1534
|
-
};
|
|
1535
|
-
_toggleGroupExpand = new WeakSet();
|
|
1536
|
-
toggleGroupExpand_fn = function(groupPath) {
|
|
1537
|
-
const set = new Set(this.expandedVariableGroups);
|
|
1538
|
-
if (set.has(groupPath)) {
|
|
1539
|
-
set.delete(groupPath);
|
|
1540
|
-
} else {
|
|
1541
|
-
set.add(groupPath);
|
|
1542
|
-
}
|
|
1543
|
-
this.expandedVariableGroups = set;
|
|
1544
|
-
};
|
|
1545
|
-
_toggleExpandCollapseAll = new WeakSet();
|
|
1546
|
-
toggleExpandCollapseAll_fn = function(tree) {
|
|
1547
|
-
const allGroups = __privateMethod(this, _getAllGroupPaths, getAllGroupPaths_fn).call(this, tree);
|
|
1548
|
-
const allExpanded = allGroups.length > 0 && allGroups.every((g) => this.expandedVariableGroups.has(g));
|
|
1549
|
-
if (allExpanded) {
|
|
1550
|
-
this.expandedVariableGroups = /* @__PURE__ */ new Set();
|
|
1551
|
-
} else {
|
|
1552
|
-
this.expandedVariableGroups = new Set(allGroups);
|
|
1553
|
-
}
|
|
1554
|
-
};
|
|
1555
|
-
_toggleVariableSelection = new WeakSet();
|
|
1556
|
-
toggleVariableSelection_fn = function(e2, variable) {
|
|
1557
|
-
__privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "variables");
|
|
1558
|
-
const checked = e2.target.checked;
|
|
1559
|
-
if (this.selectedFormat.isGiovanniFormat) {
|
|
1560
|
-
if (checked) {
|
|
1561
|
-
this.selectedVariables = [variable];
|
|
1562
|
-
}
|
|
1563
|
-
} else {
|
|
1564
|
-
if (checked) {
|
|
1565
|
-
if (!this.selectedVariables.some((v) => v.name === variable.name)) {
|
|
1566
|
-
this.selectedVariables = [...this.selectedVariables, variable];
|
|
1567
|
-
}
|
|
1568
|
-
} else {
|
|
1569
|
-
this.selectedVariables = this.selectedVariables.filter(
|
|
1570
|
-
(v) => v.name !== variable.name
|
|
1571
|
-
);
|
|
1572
|
-
}
|
|
1573
|
-
}
|
|
1574
|
-
};
|
|
1575
|
-
_markFieldTouched = new WeakSet();
|
|
1576
|
-
markFieldTouched_fn = function(field) {
|
|
1577
|
-
this.touchedFields = new Set(this.touchedFields).add(field);
|
|
1578
|
-
};
|
|
1579
|
-
_resetVariableSelection = new WeakMap();
|
|
1580
|
-
_resetDimensionSelection = new WeakSet();
|
|
1581
|
-
resetDimensionSelection_fn = function() {
|
|
1582
|
-
this.selectedDimensionIndexes = {};
|
|
1583
|
-
};
|
|
1584
|
-
_isDimensionExcluded = new WeakSet();
|
|
1585
|
-
isDimensionExcluded_fn = function(dim) {
|
|
1586
|
-
var _a, _b, _c;
|
|
1587
|
-
const normalizedName = (_b = (_a = dim.Name) == null ? void 0 : _a.toLowerCase()) != null ? _b : "";
|
|
1588
|
-
const normalizedType = ((_c = dim.Type) != null ? _c : "").toLowerCase();
|
|
1589
|
-
return ["time", "latitude", "longitude", "lat", "lon", "x", "y"].some(
|
|
1590
|
-
(value) => normalizedName.includes(value) || normalizedType.includes(value)
|
|
1591
|
-
);
|
|
1592
|
-
};
|
|
1593
|
-
_getCommonSelectableDimensions = new WeakSet();
|
|
1594
|
-
getCommonSelectableDimensions_fn = function() {
|
|
1595
|
-
var _a, _b;
|
|
1596
|
-
const variables = (_a = __privateGet(this, _collectionController).variables) == null ? void 0 : _a.data;
|
|
1597
|
-
if (!variables) {
|
|
1598
|
-
console.log("no variables found, cannot determine dimensions");
|
|
1599
|
-
return [];
|
|
1600
|
-
}
|
|
1601
|
-
const allUmmVars = (_b = variables.items) != null ? _b : [];
|
|
1602
|
-
if (!allUmmVars.length) {
|
|
1603
|
-
return [];
|
|
1604
|
-
}
|
|
1605
|
-
const allDimensionSets = allUmmVars.map(
|
|
1606
|
-
(v) => {
|
|
1607
|
-
var _a2;
|
|
1608
|
-
return (_a2 = v.umm.Dimensions) != null ? _a2 : [];
|
|
1609
|
-
}
|
|
1610
|
-
);
|
|
1611
|
-
if (!allDimensionSets.length) {
|
|
1612
|
-
return [];
|
|
1613
|
-
}
|
|
1614
|
-
const allDimensionNames = Array.from(
|
|
1615
|
-
new Set(allDimensionSets.flatMap((dimSet) => dimSet.map((dim) => dim.Name)))
|
|
1616
|
-
);
|
|
1617
|
-
const filteredCommon = allDimensionNames.map((name) => {
|
|
1618
|
-
var _a2, _b2;
|
|
1619
|
-
const dims = allDimensionSets.map((set) => set.find((dim) => dim.Name === name)).filter((d) => Boolean(d));
|
|
1620
|
-
if (!dims.length) {
|
|
1621
|
-
return null;
|
|
1622
|
-
}
|
|
1623
|
-
const validSizes = dims.filter((dim) => dim.Size !== void 0 && dim.Size !== "Varies").map((dim) => Number(dim.Size)).filter((size2) => Number.isFinite(size2) && size2 > 0);
|
|
1624
|
-
if (!validSizes.length) {
|
|
1625
|
-
return null;
|
|
1626
|
-
}
|
|
1627
|
-
const size = Math.min(...validSizes);
|
|
1628
|
-
return {
|
|
1629
|
-
name,
|
|
1630
|
-
type: (_b2 = (_a2 = dims[0]) == null ? void 0 : _a2.Type) != null ? _b2 : "OTHER",
|
|
1631
|
-
size
|
|
1632
|
-
};
|
|
1633
|
-
}).filter(
|
|
1634
|
-
(entry) => Boolean(entry)
|
|
1635
|
-
).filter(
|
|
1636
|
-
(entry) => !__privateMethod(this, _isDimensionExcluded, isDimensionExcluded_fn).call(this, {
|
|
1637
|
-
Name: entry.name,
|
|
1638
|
-
Type: entry.type
|
|
1639
|
-
})
|
|
1640
|
-
);
|
|
1641
|
-
return filteredCommon;
|
|
1642
|
-
};
|
|
1643
|
-
_renderJobStatus = new WeakSet();
|
|
1644
|
-
renderJobStatus_fn = function() {
|
|
1645
|
-
var _a, _b, _c, _d, _e;
|
|
1646
|
-
if (!__privateGet(this, _harmonyRequestController).jobId) {
|
|
1647
|
-
return b`<div class="results-section" id="job-status-section">
|
|
1648
|
-
<div
|
|
1649
|
-
style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;"
|
|
1650
|
-
>
|
|
1651
|
-
<h2 class="results-title" style="margin: 0;">Results:</h2>
|
|
1652
|
-
${!this.isHistoryView ? b`
|
|
1653
|
-
<terra-button
|
|
1654
|
-
variant="default"
|
|
1655
|
-
size="small"
|
|
1656
|
-
@click=${__privateMethod(this, _backToSubsetOptions, backToSubsetOptions_fn)}
|
|
1657
|
-
>
|
|
1658
|
-
← Back to Subset Options
|
|
1659
|
-
</terra-button>
|
|
1660
|
-
` : A}
|
|
1661
|
-
</div>
|
|
1662
|
-
|
|
1663
|
-
<div class="progress-container">
|
|
1664
|
-
<div class="progress-text">
|
|
1665
|
-
<span class="spinner"></span>
|
|
1666
|
-
<span class="status-running">Searching for data...</span>
|
|
1667
|
-
</div>
|
|
1668
|
-
|
|
1669
|
-
<div class="progress-bar">
|
|
1670
|
-
<div class="progress-fill" style="width: 0%"></div>
|
|
1671
|
-
</div>
|
|
1672
|
-
</div>
|
|
1673
|
-
|
|
1674
|
-
${__privateMethod(this, _renderJobMessage, renderJobMessage_fn).call(this)}
|
|
1675
|
-
</div>`;
|
|
1676
|
-
}
|
|
1677
|
-
return b`
|
|
1678
|
-
<div class="results-section" id="job-status-section">
|
|
1679
|
-
<div
|
|
1680
|
-
style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;"
|
|
1681
|
-
>
|
|
1682
|
-
<h2 class="results-title" style="margin: 0;">Results:</h2>
|
|
1683
|
-
${!this.isHistoryView ? b`
|
|
1684
|
-
<terra-button
|
|
1685
|
-
variant="default"
|
|
1686
|
-
size="small"
|
|
1687
|
-
@click=${__privateMethod(this, _backToSubsetOptions, backToSubsetOptions_fn)}
|
|
1688
|
-
>
|
|
1689
|
-
← Back to Subset Options
|
|
1690
|
-
</terra-button>
|
|
1691
|
-
` : A}
|
|
1692
|
-
</div>
|
|
1693
|
-
|
|
1694
|
-
${__privateGet(this, _harmonyRequestController).status !== "canceled" && __privateGet(this, _harmonyRequestController).status !== "failed" ? b` <div class="progress-container">
|
|
1695
|
-
<div class="progress-text">
|
|
1696
|
-
${__privateGet(this, _harmonyRequestController).progress >= 100 ? b`
|
|
1697
|
-
<span class="status-complete"
|
|
1698
|
-
>✓ Search complete</span
|
|
1699
|
-
>
|
|
1700
|
-
` : b`
|
|
1701
|
-
<span class="spinner"></span>
|
|
1702
|
-
<span class="status-running"
|
|
1703
|
-
>Searching for data...
|
|
1704
|
-
(${__privateGet(this, _harmonyRequestController).progress}%)</span
|
|
1705
|
-
>
|
|
1706
|
-
`}
|
|
1707
|
-
</div>
|
|
1708
|
-
|
|
1709
|
-
<div class="progress-bar">
|
|
1710
|
-
<div
|
|
1711
|
-
class="progress-fill"
|
|
1712
|
-
style="width: ${__privateGet(this, _harmonyRequestController).progress}%"
|
|
1713
|
-
></div>
|
|
1714
|
-
</div>
|
|
1715
|
-
</div>` : A}
|
|
1716
|
-
|
|
1717
|
-
<div class="search-status">
|
|
1718
|
-
<span class="file-count"
|
|
1719
|
-
>Found ${__privateMethod(this, _numberOfFilesFoundEstimate, numberOfFilesFoundEstimate_fn).call(this)} files</span
|
|
1720
|
-
>
|
|
1721
|
-
out of estimated
|
|
1722
|
-
<span class="estimated-total"
|
|
1723
|
-
>${(_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.numInputGranules.toLocaleString()}</span
|
|
1724
|
-
>
|
|
1725
|
-
</div>
|
|
1726
|
-
|
|
1727
|
-
${__privateMethod(this, _renderJobMessage, renderJobMessage_fn).call(this)}
|
|
1728
|
-
${((_c = (_b = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _b.errors) == null ? void 0 : _c.length) ? b`
|
|
1729
|
-
<terra-accordion>
|
|
1730
|
-
<div slot="summary">
|
|
1731
|
-
<span
|
|
1732
|
-
class="accordion-title"
|
|
1733
|
-
style="color: #dc3545;"
|
|
1734
|
-
>Errors
|
|
1735
|
-
(${(_d = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _d.errors.length})</span
|
|
1736
|
-
>
|
|
1737
|
-
</div>
|
|
1738
|
-
<div class="accordion-content">
|
|
1739
|
-
<ul
|
|
1740
|
-
style="color: #dc3545; font-size: 14px; padding-left: 20px;"
|
|
1741
|
-
>
|
|
1742
|
-
${(_e = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _e.errors.map(
|
|
1743
|
-
(err) => b`
|
|
1744
|
-
<li style="margin-bottom: 12px;">
|
|
1745
|
-
<a
|
|
1746
|
-
href="${err.url}"
|
|
1747
|
-
target="_blank"
|
|
1748
|
-
style="word-break: break-all; color: #dc3545; text-decoration: underline;"
|
|
1749
|
-
>
|
|
1750
|
-
${err.url}
|
|
1751
|
-
</a>
|
|
1752
|
-
<div style="margin-top: 2px;">
|
|
1753
|
-
${err.message}
|
|
1754
|
-
</div>
|
|
1755
|
-
</li>
|
|
1756
|
-
`
|
|
1757
|
-
)}
|
|
1758
|
-
</ul>
|
|
1759
|
-
</div>
|
|
1760
|
-
</terra-accordion>
|
|
1761
|
-
` : A}
|
|
1762
|
-
|
|
1763
|
-
<div class="tabs">
|
|
1764
|
-
<button
|
|
1765
|
-
class="tab ${this.selectedTab === "web-links" ? "active" : ""}"
|
|
1766
|
-
@click=${() => this.selectedTab = "web-links"}
|
|
1767
|
-
>
|
|
1768
|
-
Web Links
|
|
1769
|
-
</button>
|
|
1770
|
-
|
|
1771
|
-
${!this.isHistoryView ? b`
|
|
1772
|
-
<button
|
|
1773
|
-
class="tab ${this.selectedTab === "selected-params" ? "active" : ""}"
|
|
1774
|
-
@click=${() => this.selectedTab = "selected-params"}
|
|
1775
|
-
>
|
|
1776
|
-
Selected Parameters
|
|
1777
|
-
</button>
|
|
1778
|
-
` : A}
|
|
1779
|
-
</div>
|
|
1780
|
-
<div
|
|
1781
|
-
id="web-links"
|
|
1782
|
-
class="tab-content ${this.selectedTab === "web-links" ? "active" : ""}"
|
|
1783
|
-
>
|
|
1784
|
-
${__privateMethod(this, _getDocumentationLinks, getDocumentationLinks_fn).call(this).length ? b`
|
|
1785
|
-
<div class="documentation-links">
|
|
1786
|
-
${__privateMethod(this, _getDocumentationLinks, getDocumentationLinks_fn).call(this).map(
|
|
1787
|
-
(link) => b`
|
|
1788
|
-
<a href="${link.href}" class="doc-link"
|
|
1789
|
-
>${link.title}</a
|
|
1790
|
-
>
|
|
1791
|
-
`
|
|
1792
|
-
)}
|
|
1793
|
-
</div>
|
|
1794
|
-
` : A}
|
|
1795
|
-
|
|
1796
|
-
<ul class="file-list">
|
|
1797
|
-
${__privateMethod(this, _getDataLinks, getDataLinks_fn).call(this).map(
|
|
1798
|
-
(link) => b`
|
|
1799
|
-
<li class="file-item">
|
|
1800
|
-
<a
|
|
1801
|
-
href="${link.href}"
|
|
1802
|
-
class="file-link"
|
|
1803
|
-
target="_blank"
|
|
1804
|
-
>
|
|
1805
|
-
${link.title}
|
|
1806
|
-
</a>
|
|
1807
|
-
</li>
|
|
1808
|
-
`
|
|
1809
|
-
)}
|
|
1810
|
-
</ul>
|
|
1811
|
-
</div>
|
|
1812
|
-
|
|
1813
|
-
<div
|
|
1814
|
-
id="selected-params"
|
|
1815
|
-
class="tab-content ${this.selectedTab === "selected-params" ? "active" : ""}"
|
|
1816
|
-
>
|
|
1817
|
-
${__privateMethod(this, _renderSelectedParams, renderSelectedParams_fn).call(this)}
|
|
1818
|
-
</div>
|
|
1819
|
-
</div>
|
|
1820
|
-
|
|
1821
|
-
${!this.dialog ? b`
|
|
1822
|
-
<div class="footer">
|
|
1823
|
-
${__privateGet(this, _harmonyRequestController).status === "successful" /* SUCCESSFUL */ || __privateGet(this, _harmonyRequestController).status === "complete_with_errors" /* COMPLETE_WITH_ERRORS */ ? b`
|
|
1824
|
-
<div
|
|
1825
|
-
style="display: flex; align-items: center; gap: 8px;"
|
|
1826
|
-
>
|
|
1827
|
-
<terra-dropdown
|
|
1828
|
-
@terra-select=${__privateMethod(this, _handleDownloadSelect, handleDownloadSelect_fn)}
|
|
1829
|
-
>
|
|
1830
|
-
<terra-button slot="trigger" caret>
|
|
1831
|
-
Download Options
|
|
1832
|
-
</terra-button>
|
|
1833
|
-
<terra-menu>
|
|
1834
|
-
<terra-menu-item value="file-list">
|
|
1835
|
-
<svg
|
|
1836
|
-
slot="prefix"
|
|
1837
|
-
viewBox="0 0 24 24"
|
|
1838
|
-
width="16"
|
|
1839
|
-
height="16"
|
|
1840
|
-
style="width: 16px; height: 16px;"
|
|
1841
|
-
>
|
|
1842
|
-
<path
|
|
1843
|
-
fill="currentColor"
|
|
1844
|
-
d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z"
|
|
1845
|
-
/>
|
|
1846
|
-
</svg>
|
|
1847
|
-
File List
|
|
1848
|
-
</terra-menu-item>
|
|
1849
|
-
<terra-menu-item
|
|
1850
|
-
value="python-script"
|
|
1851
|
-
>
|
|
1852
|
-
<svg
|
|
1853
|
-
slot="prefix"
|
|
1854
|
-
viewBox="0 0 128 128"
|
|
1855
|
-
width="16"
|
|
1856
|
-
height="16"
|
|
1857
|
-
style="width: 16px; height: 16px;"
|
|
1858
|
-
>
|
|
1859
|
-
<path
|
|
1860
|
-
fill="currentColor"
|
|
1861
|
-
d="M49.33 62h29.159C86.606 62 93 55.132 93 46.981V19.183c0-7.912-6.632-13.856-14.555-15.176-5.014-.835-10.195-1.215-15.187-1.191-4.99.023-9.612.448-13.805 1.191C37.098 6.188 35 10.758 35 19.183V30h29v4H23.776c-8.484 0-15.914 5.108-18.237 14.811-2.681 11.12-2.8 17.919 0 29.53C7.614 86.983 12.569 93 21.054 93H31V79.952C31 70.315 39.428 62 49.33 62zm-1.838-39.11c-3.026 0-5.478-2.479-5.478-5.545 0-3.079 2.451-5.581 5.478-5.581 3.015 0 5.479 2.502 5.479 5.581-.001 3.066-2.465 5.545-5.479 5.545zm74.789 25.921C120.183 40.363 116.178 34 107.682 34H97v12.981C97 57.031 88.206 65 78.489 65H49.33C41.342 65 35 72.326 35 80.326v27.8c0 7.91 6.745 12.564 14.462 14.834 9.242 2.717 17.994 3.208 29.051 0C85.862 120.831 93 116.549 93 108.126V97H64v-4h43.682c8.484 0 11.647-5.776 14.599-14.66 3.047-9.145 2.916-17.799 0-29.529zm-41.955 55.606c3.027 0 5.479 2.479 5.479 5.547 0 3.076-2.451 5.579-5.479 5.579-3.015 0-5.478-2.502-5.478-5.579 0-3.068 2.463-5.547 5.478-5.547z"
|
|
1862
|
-
></path>
|
|
1863
|
-
</svg>
|
|
1864
|
-
Python Script
|
|
1865
|
-
</terra-menu-item>
|
|
1866
|
-
<terra-menu-item
|
|
1867
|
-
value="earthdata-download"
|
|
1868
|
-
>
|
|
1869
|
-
<svg
|
|
1870
|
-
slot="prefix"
|
|
1871
|
-
viewBox="0 0 64 64"
|
|
1872
|
-
fill="none"
|
|
1873
|
-
width="16"
|
|
1874
|
-
height="16"
|
|
1875
|
-
style="width: 16px; height: 16px;"
|
|
1876
|
-
>
|
|
1877
|
-
<circle
|
|
1878
|
-
cx="32"
|
|
1879
|
-
cy="32"
|
|
1880
|
-
r="28"
|
|
1881
|
-
fill="currentColor"
|
|
1882
|
-
/>
|
|
1883
|
-
<path
|
|
1884
|
-
d="M32 14v26M32 40l-9-9M32 40l9-9"
|
|
1885
|
-
stroke="#fff"
|
|
1886
|
-
stroke-width="4"
|
|
1887
|
-
stroke-linecap="round"
|
|
1888
|
-
stroke-linejoin="round"
|
|
1889
|
-
fill="none"
|
|
1890
|
-
/>
|
|
1891
|
-
</svg>
|
|
1892
|
-
Earthdata Download
|
|
1893
|
-
</terra-menu-item>
|
|
1894
|
-
</terra-menu>
|
|
1895
|
-
</terra-dropdown>
|
|
1896
|
-
|
|
1897
|
-
<!--
|
|
1898
|
-
<terra-button
|
|
1899
|
-
outline
|
|
1900
|
-
@click=${() => __privateMethod(this, _handleJupyterNotebookClick, handleJupyterNotebookClick_fn).call(this)}
|
|
1901
|
-
>
|
|
1902
|
-
<terra-icon
|
|
1903
|
-
name="outline-code-bracket"
|
|
1904
|
-
library="heroicons"
|
|
1905
|
-
font-size="1.5em"
|
|
1906
|
-
style="margin-right: 5px;"
|
|
1907
|
-
></terra-icon>
|
|
1908
|
-
Open in Jupyter Notebook
|
|
1909
|
-
</terra-button>
|
|
1910
|
-
--></div>
|
|
1911
|
-
` : A}
|
|
1912
|
-
${__privateGet(this, _harmonyRequestController).status === "running" /* RUNNING */ ? b`<button
|
|
1913
|
-
class="btn btn-success"
|
|
1914
|
-
@click=${__privateMethod(this, _cancelJob, cancelJob_fn)}
|
|
1915
|
-
?disabled=${this.cancelingGetData}
|
|
1916
|
-
>
|
|
1917
|
-
${this.cancelingGetData ? "Canceling..." : "Cancel request"}
|
|
1918
|
-
</button>` : A}
|
|
1919
|
-
|
|
1920
|
-
<div class="job-info">
|
|
1921
|
-
Job ID:
|
|
1922
|
-
<span class="job-id">
|
|
1923
|
-
${this.bearerToken ? b`<a
|
|
1924
|
-
href="https://harmony.earthdata.nasa.gov/jobs/${__privateGet(this, _harmonyRequestController).jobId}"
|
|
1925
|
-
target="_blank"
|
|
1926
|
-
>${__privateGet(this, _harmonyRequestController).jobId}</a
|
|
1927
|
-
>` : __privateGet(this, _harmonyRequestController).jobId}
|
|
1928
|
-
</span>
|
|
1929
|
-
<span class="info-icon">?</span>
|
|
1930
|
-
</div>
|
|
1931
|
-
</div>
|
|
1932
|
-
` : A}
|
|
1933
|
-
`;
|
|
1934
|
-
};
|
|
1935
|
-
_renderSelectedParams = new WeakSet();
|
|
1936
|
-
renderSelectedParams_fn = function() {
|
|
1937
|
-
var _a, _b, _c, _d;
|
|
1938
|
-
const collection = (_a = this.collectionWithServices) == null ? void 0 : _a.collection;
|
|
1939
|
-
const variables = this.selectedVariables.length ? this.selectedVariables.map((v) => v.name) : ["All"];
|
|
1940
|
-
const dateRange = this.selectedDateRange.startDate && this.selectedDateRange.endDate ? `${this.selectedDateRange.startDate} to ${this.selectedDateRange.endDate}` : "\u2014";
|
|
1941
|
-
const spatial = (_c = (_b = this.spatialSelection) == null ? void 0 : _b.toString()) != null ? _c : "-";
|
|
1942
|
-
return b`
|
|
1943
|
-
<dl class="params-summary">
|
|
1944
|
-
<div>
|
|
1945
|
-
<dt><strong>Dataset</strong></dt>
|
|
1946
|
-
<dd>${(_d = collection == null ? void 0 : collection.EntryTitle) != null ? _d : "\u2014"}</dd>
|
|
1947
|
-
</div>
|
|
1948
|
-
<div>
|
|
1949
|
-
<dt><strong>Variables</strong></dt>
|
|
1950
|
-
<dd>${variables.map((v) => b`<div>${v}</div>`)}</dd>
|
|
1951
|
-
</div>
|
|
1952
|
-
<div>
|
|
1953
|
-
<dt><strong>Dimensions</strong></dt>
|
|
1954
|
-
<dd>
|
|
1955
|
-
${Object.entries(this.selectedDimensionIndexes).length ? Object.entries(this.selectedDimensionIndexes).map(
|
|
1956
|
-
([dimName, value]) => b`<div>
|
|
1957
|
-
<strong>${dimName}:</strong> ${value}
|
|
1958
|
-
</div>`
|
|
1959
|
-
) : "\u2014"}
|
|
1960
|
-
</dd>
|
|
1961
|
-
</div>
|
|
1962
|
-
<div>
|
|
1963
|
-
<dt><strong>Date Range</strong></dt>
|
|
1964
|
-
<dd>${dateRange}</dd>
|
|
1965
|
-
</div>
|
|
1966
|
-
<div>
|
|
1967
|
-
<dt><strong>Spatial</strong></dt>
|
|
1968
|
-
<dd>${spatial}</dd>
|
|
1969
|
-
</div>
|
|
1970
|
-
</dl>
|
|
1971
|
-
|
|
1972
|
-
<terra-button @click=${__privateMethod(this, _refineParameters, refineParameters_fn)}
|
|
1973
|
-
>Refine Parameters</terra-button
|
|
1974
|
-
>
|
|
1975
|
-
`;
|
|
1976
|
-
};
|
|
1977
|
-
_cancelJob = new WeakSet();
|
|
1978
|
-
cancelJob_fn = async function() {
|
|
1979
|
-
if (!this.jobId) {
|
|
1980
|
-
return;
|
|
1981
|
-
}
|
|
1982
|
-
this.cancelingGetData = true;
|
|
1983
|
-
try {
|
|
1984
|
-
await __privateGet(this, _harmonyRequestController).cancelJob({
|
|
1985
|
-
jobId: this.jobId,
|
|
1986
|
-
options: { bearerToken: this.bearerToken }
|
|
1987
|
-
});
|
|
1988
|
-
} finally {
|
|
1989
|
-
this.cancelingGetData = false;
|
|
1990
|
-
}
|
|
1991
|
-
};
|
|
1992
|
-
_getData = new WeakSet();
|
|
1993
|
-
getData_fn = async function() {
|
|
1994
|
-
var _a;
|
|
1995
|
-
const validationError = __privateMethod(this, _getGiovanniValidationError, getGiovanniValidationError_fn).call(this);
|
|
1996
|
-
if (validationError) {
|
|
1997
|
-
this.validationError = validationError;
|
|
1998
|
-
__privateMethod(this, _markFieldTouched, markFieldTouched_fn).call(this, "variables");
|
|
1999
|
-
return;
|
|
2000
|
-
}
|
|
2001
|
-
this.validationError = void 0;
|
|
2002
|
-
this.cancelingGetData = false;
|
|
2003
|
-
__privateMethod(this, _touchAllFields, touchAllFields_fn).call(this);
|
|
2004
|
-
const variables = this.selectedFormat.isGiovanniFormat ? this.selectedVariables.map(
|
|
2005
|
-
(v) => {
|
|
2006
|
-
var _a2, _b, _c;
|
|
2007
|
-
return (
|
|
2008
|
-
// the Giovanni variable catalog uses different variable entry ids, we need to support them
|
|
2009
|
-
// ex. CMR: M2T1NXSLV_5.2.14 in Giovanni uses underscores: M2T1NXSLV_5_2_14
|
|
2010
|
-
convertVariableEntryIdToGiovanniFormat(
|
|
2011
|
-
(_a2 = this.collectionWithServices.shortName) != null ? _a2 : "",
|
|
2012
|
-
(_c = (_b = this.collectionWithServices.collection) == null ? void 0 : _b.Version) != null ? _c : "",
|
|
2013
|
-
v.name
|
|
2014
|
-
)
|
|
2015
|
-
);
|
|
2016
|
-
}
|
|
2017
|
-
) : this.selectedVariables.map((v) => v.conceptId);
|
|
2018
|
-
const harmonyRequest = new HarmonyRequest({
|
|
2019
|
-
collectionConceptId: this.collectionWithServices.conceptId,
|
|
2020
|
-
variables,
|
|
2021
|
-
location: this.spatialSelection
|
|
2022
|
-
});
|
|
2023
|
-
if (((_a = this.collectionWithServices) == null ? void 0 : _a.summary.subsetting.temporal) && this.selectedDateRange.startDate && this.selectedDateRange.endDate) {
|
|
2024
|
-
harmonyRequest.startDate(
|
|
2025
|
-
this.isSubDaily ? this.selectedDateRange.startDate : getUTCDate(this.selectedDateRange.startDate).toISOString()
|
|
2026
|
-
);
|
|
2027
|
-
harmonyRequest.endDate(
|
|
2028
|
-
this.isSubDaily ? this.selectedDateRange.endDate : getUTCDate(this.selectedDateRange.endDate).toISOString()
|
|
2029
|
-
);
|
|
2030
|
-
}
|
|
2031
|
-
if (this.selectedFormat) {
|
|
2032
|
-
harmonyRequest.format(
|
|
2033
|
-
this.selectedFormat.isGiovanniFormat ? "text/csv" : this.selectedFormat.key
|
|
2034
|
-
);
|
|
2035
|
-
}
|
|
2036
|
-
if (this.selectedFormat.key === "text/csv") {
|
|
2037
|
-
harmonyRequest.average("area");
|
|
2038
|
-
}
|
|
2039
|
-
if (this.selectedFormat.key === "image/tiff") {
|
|
2040
|
-
harmonyRequest.average("time");
|
|
2041
|
-
}
|
|
2042
|
-
if (Object.keys(this.selectedDimensionIndexes).length) {
|
|
2043
|
-
Object.entries(this.selectedDimensionIndexes).forEach(
|
|
2044
|
-
([dimName, { start, end }]) => {
|
|
2045
|
-
harmonyRequest.dimension({
|
|
2046
|
-
name: dimName,
|
|
2047
|
-
min: start,
|
|
2048
|
-
max: end
|
|
2049
|
-
});
|
|
2050
|
-
}
|
|
2051
|
-
);
|
|
2052
|
-
}
|
|
2053
|
-
harmonyRequest.label("terra-data-subsetter");
|
|
2054
|
-
console.log("Creating Harmony job with request:", harmonyRequest);
|
|
2055
|
-
const job = await __privateGet(this, _harmonyRequestController).startJob({
|
|
2056
|
-
harmonyRequest,
|
|
2057
|
-
options: { bearerToken: this.bearerToken }
|
|
2058
|
-
});
|
|
2059
|
-
this.jobId = job.jobID;
|
|
2060
|
-
setTimeout(() => {
|
|
2061
|
-
const el = this.renderRoot.querySelector("#job-status-section");
|
|
2062
|
-
el == null ? void 0 : el.scrollIntoView({ behavior: "smooth" });
|
|
2063
|
-
}, 100);
|
|
2064
|
-
this.refineParameters = false;
|
|
2065
|
-
this.isHistoryView = false;
|
|
2066
|
-
};
|
|
2067
|
-
_touchAllFields = new WeakSet();
|
|
2068
|
-
touchAllFields_fn = function() {
|
|
2069
|
-
this.touchedFields = /* @__PURE__ */ new Set(["variables", "spatial"]);
|
|
2070
|
-
};
|
|
2071
|
-
_numberOfFilesFoundEstimate = new WeakSet();
|
|
2072
|
-
numberOfFilesFoundEstimate_fn = function() {
|
|
2073
|
-
return Math.floor(
|
|
2074
|
-
__privateGet(this, _harmonyRequestController).data.numInputGranules * __privateGet(this, _harmonyRequestController).progress / 100
|
|
2075
|
-
);
|
|
2076
|
-
};
|
|
2077
|
-
_getDocumentationLinks = new WeakSet();
|
|
2078
|
-
getDocumentationLinks_fn = function() {
|
|
2079
|
-
return __privateGet(this, _harmonyRequestController).data.links.filter(
|
|
2080
|
-
(link) => link.rel === "stac-catalog-json"
|
|
2081
|
-
);
|
|
2082
|
-
};
|
|
2083
|
-
_getDataLinks = new WeakSet();
|
|
2084
|
-
getDataLinks_fn = function() {
|
|
2085
|
-
return __privateGet(this, _harmonyRequestController).data.links.filter(
|
|
2086
|
-
(link) => link.rel === "data"
|
|
2087
|
-
);
|
|
2088
|
-
};
|
|
2089
|
-
_hasAtLeastOneSubsetOption = new WeakSet();
|
|
2090
|
-
hasAtLeastOneSubsetOption_fn = function() {
|
|
2091
|
-
var _a, _b, _c, _d;
|
|
2092
|
-
return ((_a = this.collectionWithServices) == null ? void 0 : _a.summary.subsetting.bbox) || ((_b = this.collectionWithServices) == null ? void 0 : _b.summary.subsetting.shape) || ((_c = this.collectionWithServices) == null ? void 0 : _c.summary.subsetting.variable) || ((_d = this.collectionWithServices) == null ? void 0 : _d.summary.subsetting.temporal);
|
|
2093
|
-
};
|
|
2094
|
-
_hasSpatialSubset = new WeakSet();
|
|
2095
|
-
hasSpatialSubset_fn = function() {
|
|
2096
|
-
var _a, _b;
|
|
2097
|
-
return ((_a = this.collectionWithServices) == null ? void 0 : _a.summary.subsetting.bbox) || ((_b = this.collectionWithServices) == null ? void 0 : _b.summary.subsetting.shape);
|
|
2098
|
-
};
|
|
2099
|
-
_renderJobMessage = new WeakSet();
|
|
2100
|
-
renderJobMessage_fn = function() {
|
|
2101
|
-
const warningStatuses = [
|
|
2102
|
-
"canceled" /* CANCELED */,
|
|
2103
|
-
"complete_with_errors" /* COMPLETE_WITH_ERRORS */,
|
|
2104
|
-
"running_with_errors" /* RUNNING_WITH_ERRORS */
|
|
2105
|
-
];
|
|
2106
|
-
const errorStatuses = ["failed" /* FAILED */];
|
|
2107
|
-
let type = "normal";
|
|
2108
|
-
if (warningStatuses.includes(__privateGet(this, _harmonyRequestController).data.status)) {
|
|
2109
|
-
type = "warning";
|
|
2110
|
-
} else if (errorStatuses.includes(__privateGet(this, _harmonyRequestController).data.status)) {
|
|
2111
|
-
type = "error";
|
|
2112
|
-
}
|
|
2113
|
-
let color, bg;
|
|
2114
|
-
if (type === "error") {
|
|
2115
|
-
color = "#dc3545";
|
|
2116
|
-
bg = "#f8d7da";
|
|
2117
|
-
} else if (type === "warning") {
|
|
2118
|
-
color = "#856404";
|
|
2119
|
-
bg = "#fff3cd";
|
|
2120
|
-
} else {
|
|
2121
|
-
color = "#555";
|
|
2122
|
-
bg = "#f8f9fa";
|
|
2123
|
-
}
|
|
2124
|
-
return b`
|
|
2125
|
-
<div
|
|
2126
|
-
style="
|
|
2127
|
-
margin: 24px 0 16px 0;
|
|
2128
|
-
padding: 16px 20px;
|
|
2129
|
-
border-radius: 6px;
|
|
2130
|
-
background: ${bg};
|
|
2131
|
-
color: ${color};
|
|
2132
|
-
border: 1px solid ${color}22;
|
|
2133
|
-
"
|
|
2134
|
-
>
|
|
2135
|
-
${__privateMethod(this, _getJobMessageText, getJobMessageText_fn).call(this)}
|
|
2136
|
-
</div>
|
|
2137
|
-
`;
|
|
2138
|
-
};
|
|
2139
|
-
_getJobMessageText = new WeakSet();
|
|
2140
|
-
getJobMessageText_fn = function() {
|
|
2141
|
-
var _a;
|
|
2142
|
-
return (_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.message.replace(
|
|
2143
|
-
/\b(The job|the job|job|Job)\b/g,
|
|
2144
|
-
(match) => {
|
|
2145
|
-
switch (match) {
|
|
2146
|
-
case "The job":
|
|
2147
|
-
return "Your request";
|
|
2148
|
-
case "the job":
|
|
2149
|
-
return "Your Request";
|
|
2150
|
-
case "job":
|
|
2151
|
-
return "request";
|
|
2152
|
-
case "Job":
|
|
2153
|
-
return "Request";
|
|
2154
|
-
}
|
|
2155
|
-
return match;
|
|
2156
|
-
}
|
|
2157
|
-
);
|
|
2158
|
-
};
|
|
2159
|
-
_estimateJobSize = new WeakSet();
|
|
2160
|
-
estimateJobSize_fn = function() {
|
|
2161
|
-
var _a, _b, _c, _d, _e;
|
|
2162
|
-
if (!((_a = this.collectionWithServices) == null ? void 0 : _a.granuleCount))
|
|
2163
|
-
return;
|
|
2164
|
-
const range = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
|
|
2165
|
-
let startDate;
|
|
2166
|
-
let endDate;
|
|
2167
|
-
let links = (_c = (_b = this.collectionWithServices) == null ? void 0 : _b.granuleCount) != null ? _c : 0;
|
|
2168
|
-
if (this.selectedDateRange.startDate && this.selectedDateRange.endDate) {
|
|
2169
|
-
startDate = this.selectedDateRange.startDate;
|
|
2170
|
-
endDate = this.selectedDateRange.endDate;
|
|
2171
|
-
} else {
|
|
2172
|
-
startDate = (_d = this.granuleMinDate) != null ? _d : range.startDate;
|
|
2173
|
-
endDate = (_e = this.granuleMaxDate) != null ? _e : range.endDate;
|
|
2174
|
-
}
|
|
2175
|
-
if (!startDate || !endDate)
|
|
2176
|
-
return;
|
|
2177
|
-
const start = new Date(startDate);
|
|
2178
|
-
const end = new Date(endDate);
|
|
2179
|
-
const days = Math.floor((end.getTime() - start.getTime()) / (1e3 * 60 * 60 * 24)) + 1;
|
|
2180
|
-
if (range.startDate && range.endDate) {
|
|
2181
|
-
const availableDaysInCollection = Math.floor(
|
|
2182
|
-
(new Date(range.endDate).getTime() - new Date(range.startDate).getTime()) / (1e3 * 60 * 60 * 24)
|
|
2183
|
-
) + 1;
|
|
2184
|
-
const granulesPerDay = links / availableDaysInCollection;
|
|
2185
|
-
links = Math.ceil(days * granulesPerDay);
|
|
2186
|
-
}
|
|
2187
|
-
return { days, links };
|
|
2188
|
-
};
|
|
2189
|
-
_refineParameters = new WeakSet();
|
|
2190
|
-
refineParameters_fn = function() {
|
|
2191
|
-
this.refineParameters = true;
|
|
2192
|
-
};
|
|
2193
|
-
_backToSubsetOptions = new WeakSet();
|
|
2194
|
-
backToSubsetOptions_fn = function() {
|
|
2195
|
-
this.refineParameters = true;
|
|
2196
|
-
setTimeout(() => {
|
|
2197
|
-
const container = this.renderRoot.querySelector(".container");
|
|
2198
|
-
container == null ? void 0 : container.scrollIntoView({ behavior: "smooth", block: "start" });
|
|
2199
|
-
}, 100);
|
|
2200
|
-
};
|
|
2201
|
-
_viewRunningJob = new WeakSet();
|
|
2202
|
-
viewRunningJob_fn = function() {
|
|
2203
|
-
this.refineParameters = false;
|
|
2204
|
-
setTimeout(() => {
|
|
2205
|
-
const el = this.renderRoot.querySelector("#job-status-section");
|
|
2206
|
-
el == null ? void 0 : el.scrollIntoView({ behavior: "smooth" });
|
|
2207
|
-
}, 100);
|
|
2208
|
-
};
|
|
2209
|
-
_handleDownloadSelect = new WeakSet();
|
|
2210
|
-
handleDownloadSelect_fn = function(event) {
|
|
2211
|
-
const item = event.detail.item;
|
|
2212
|
-
const value = item.value || item.getTextLabel();
|
|
2213
|
-
if (value === "file-list") {
|
|
2214
|
-
__privateMethod(this, _downloadLinksAsTxt, downloadLinksAsTxt_fn).call(this, event);
|
|
2215
|
-
} else if (value === "python-script") {
|
|
2216
|
-
__privateMethod(this, _downloadPythonScript, downloadPythonScript_fn).call(this, event);
|
|
2217
|
-
} else if (value === "earthdata-download") {
|
|
2218
|
-
__privateMethod(this, _downloadEarthdataDownload, downloadEarthdataDownload_fn).call(this, event);
|
|
2219
|
-
}
|
|
2220
|
-
};
|
|
2221
|
-
_downloadLinksAsTxt = new WeakSet();
|
|
2222
|
-
downloadLinksAsTxt_fn = function(event) {
|
|
2223
|
-
var _a;
|
|
2224
|
-
event.stopPropagation();
|
|
2225
|
-
if (!((_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.links)) {
|
|
2226
|
-
return;
|
|
2227
|
-
}
|
|
2228
|
-
const dataLinks = __privateMethod(this, _getDataLinks, getDataLinks_fn).call(this);
|
|
2229
|
-
if (dataLinks.length === 0) {
|
|
2230
|
-
return;
|
|
2231
|
-
}
|
|
2232
|
-
const content = dataLinks.map((link) => link.href).join("\n");
|
|
2233
|
-
const blob = new Blob([content], { type: "text/plain" });
|
|
2234
|
-
const url = URL.createObjectURL(blob);
|
|
2235
|
-
const a = document.createElement("a");
|
|
2236
|
-
a.href = url;
|
|
2237
|
-
a.download = `subset_links_${__privateGet(this, _harmonyRequestController).jobId}.txt`;
|
|
2238
|
-
document.body.appendChild(a);
|
|
2239
|
-
a.click();
|
|
2240
|
-
document.body.removeChild(a);
|
|
2241
|
-
URL.revokeObjectURL(url);
|
|
2242
|
-
};
|
|
2243
|
-
_downloadPythonScript = new WeakSet();
|
|
2244
|
-
downloadPythonScript_fn = async function(event) {
|
|
2245
|
-
var _a, _b, _c, _d;
|
|
2246
|
-
event.stopPropagation();
|
|
2247
|
-
if (!((_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.links)) {
|
|
2248
|
-
return;
|
|
2249
|
-
}
|
|
2250
|
-
const response = await fetch(
|
|
2251
|
-
getBasePath("assets/data-subsetter/download_subset_files.py.txt")
|
|
2252
|
-
);
|
|
2253
|
-
if (!response.ok) {
|
|
2254
|
-
alert(
|
|
2255
|
-
"Sorry, there was a problem generating the Python script. We are investigating the issue.\nYou could try using the Jupyter Notebook in the meantime"
|
|
2256
|
-
);
|
|
2257
|
-
}
|
|
2258
|
-
const content = (await response.text()).replace(/{{jobId}}/gi, (_b = __privateGet(this, _harmonyRequestController).jobId) != null ? _b : "").replace(
|
|
2259
|
-
/{{HARMONY_ENV}}/gi,
|
|
2260
|
-
`Environment.${(_c = this.environment) == null ? void 0 : _c.toUpperCase()}`
|
|
2261
|
-
).replace(
|
|
2262
|
-
/{{EARTHACCESS_ENV}}/gi,
|
|
2263
|
-
`earthaccess.${(_d = this.environment) == null ? void 0 : _d.toUpperCase()}`
|
|
2264
|
-
);
|
|
2265
|
-
const blob = new Blob([content], { type: "text/plain" });
|
|
2266
|
-
const url = URL.createObjectURL(blob);
|
|
2267
|
-
const a = document.createElement("a");
|
|
2268
|
-
a.href = url;
|
|
2269
|
-
a.download = `download_subset_files_${__privateGet(this, _harmonyRequestController).jobId}.py`;
|
|
2270
|
-
document.body.appendChild(a);
|
|
2271
|
-
a.click();
|
|
2272
|
-
document.body.removeChild(a);
|
|
2273
|
-
URL.revokeObjectURL(url);
|
|
2274
|
-
};
|
|
2275
|
-
_downloadEarthdataDownload = new WeakSet();
|
|
2276
|
-
downloadEarthdataDownload_fn = async function(event) {
|
|
2277
|
-
var _a;
|
|
2278
|
-
event.stopPropagation();
|
|
2279
|
-
if (!((_a = __privateGet(this, _harmonyRequestController).data) == null ? void 0 : _a.links)) {
|
|
2280
|
-
return;
|
|
2281
|
-
}
|
|
2282
|
-
alert("Sorry, Earthdata Download is not currently supported");
|
|
2283
|
-
};
|
|
2284
|
-
_handleJupyterNotebookClick = new WeakSet();
|
|
2285
|
-
handleJupyterNotebookClick_fn = function() {
|
|
2286
|
-
const notebook = getNotebook(this);
|
|
2287
|
-
sendDataToJupyterNotebook("load-notebook", {
|
|
2288
|
-
filename: `subset_${__privateGet(this, _harmonyRequestController).jobId}.ipynb`,
|
|
2289
|
-
notebook,
|
|
2290
|
-
bearerToken: this.bearerToken
|
|
2291
|
-
});
|
|
2292
|
-
};
|
|
2293
|
-
_renderAvailableTemporalRangeSection = new WeakSet();
|
|
2294
|
-
renderAvailableTemporalRangeSection_fn = function() {
|
|
2295
|
-
const { startDate, endDate } = __privateMethod(this, _getCollectionDateRange, getCollectionDateRange_fn).call(this);
|
|
2296
|
-
if (!startDate || !endDate)
|
|
2297
|
-
return A;
|
|
2298
|
-
return b`
|
|
2299
|
-
<div class="section" style="margin-bottom: 16px;">
|
|
2300
|
-
<h2 class="section-title">Available Date Range</h2>
|
|
2301
|
-
<div style="color: #31708f; margin-top: 8px;">
|
|
2302
|
-
<strong>${startDate}</strong> to <strong>${endDate}</strong>
|
|
2303
|
-
</div>
|
|
2304
|
-
<div style="font-size: 0.95em; color: #666;">
|
|
2305
|
-
This collection does not support temporal subsetting.
|
|
2306
|
-
</div>
|
|
2307
|
-
</div>
|
|
2308
|
-
`;
|
|
2309
|
-
};
|
|
2310
|
-
_renderAvailableSpatialRangeSection = new WeakSet();
|
|
2311
|
-
renderAvailableSpatialRangeSection_fn = function() {
|
|
2312
|
-
var _a, _b, _c, _d, _e;
|
|
2313
|
-
const boundingRects = (_e = (_d = (_c = (_b = (_a = this.collectionWithServices) == null ? void 0 : _a.collection) == null ? void 0 : _b.SpatialExtent) == null ? void 0 : _c.HorizontalSpatialDomain) == null ? void 0 : _d.Geometry) == null ? void 0 : _e.BoundingRectangles;
|
|
2314
|
-
if (!boundingRects || !Array.isArray(boundingRects) || !boundingRects.length)
|
|
2315
|
-
return A;
|
|
2316
|
-
return b`
|
|
2317
|
-
<div class="section" style="margin-bottom: 16px;">
|
|
2318
|
-
<h2 class="section-title">Available Spatial Area</h2>
|
|
2319
|
-
<div style="color: #31708f; margin-top: 8px;">
|
|
2320
|
-
${boundingRects.map(
|
|
2321
|
-
(rect) => b`<div>
|
|
2322
|
-
<strong>Bounding Box:</strong>
|
|
2323
|
-
${rect.WestBoundingCoordinate},
|
|
2324
|
-
${rect.SouthBoundingCoordinate},
|
|
2325
|
-
${rect.EastBoundingCoordinate},
|
|
2326
|
-
${rect.NorthBoundingCoordinate}
|
|
2327
|
-
</div>`
|
|
2328
|
-
)}
|
|
2329
|
-
</div>
|
|
2330
|
-
<div style="font-size: 0.95em; color: #666;">
|
|
2331
|
-
This collection does not support spatial subsetting.
|
|
2332
|
-
</div>
|
|
2333
|
-
</div>
|
|
2334
|
-
`;
|
|
2335
|
-
};
|
|
2336
|
-
_renderDataAccessModeSelection = new WeakSet();
|
|
2337
|
-
renderDataAccessModeSelection_fn = function() {
|
|
2338
|
-
if (!__privateGet(this, _collectionController).hasGranules) {
|
|
2339
|
-
return A;
|
|
2340
|
-
}
|
|
2341
|
-
return b`
|
|
2342
|
-
<div class="mode-selection">
|
|
2343
|
-
<div class="mode-options">
|
|
2344
|
-
<label
|
|
2345
|
-
class="mode-option ${this.dataAccessMode === "original" ? "selected" : ""}"
|
|
2346
|
-
>
|
|
2347
|
-
<input
|
|
2348
|
-
type="radio"
|
|
2349
|
-
name="data-access-mode"
|
|
2350
|
-
value="original"
|
|
2351
|
-
.checked=${this.dataAccessMode === "original"}
|
|
2352
|
-
@change=${() => this.dataAccessMode = "original"}
|
|
2353
|
-
/>
|
|
2354
|
-
<div class="mode-content">
|
|
2355
|
-
<div class="mode-title">Get Original Files</div>
|
|
2356
|
-
<div class="mode-description">
|
|
2357
|
-
Filter file links directly from the archive.
|
|
2358
|
-
</div>
|
|
2359
|
-
</div>
|
|
2360
|
-
</label>
|
|
2361
|
-
|
|
2362
|
-
<label
|
|
2363
|
-
class="mode-option ${this.dataAccessMode === "subset" ? "selected" : ""}"
|
|
2364
|
-
>
|
|
2365
|
-
<input
|
|
2366
|
-
type="radio"
|
|
2367
|
-
name="data-access-mode"
|
|
2368
|
-
value="subset"
|
|
2369
|
-
.checked=${this.dataAccessMode === "subset"}
|
|
2370
|
-
@change=${() => this.dataAccessMode = "subset"}
|
|
2371
|
-
/>
|
|
2372
|
-
<div class="mode-content">
|
|
2373
|
-
<div class="mode-title">Transform Data</div>
|
|
2374
|
-
<div class="mode-description">
|
|
2375
|
-
Transform the data to your specific needs.
|
|
2376
|
-
</div>
|
|
2377
|
-
</div>
|
|
2378
|
-
</label>
|
|
2379
|
-
</div>
|
|
2380
|
-
</div>
|
|
2381
|
-
`;
|
|
2382
|
-
};
|
|
2383
|
-
_getGiovanniValidationError = new WeakSet();
|
|
2384
|
-
getGiovanniValidationError_fn = function() {
|
|
2385
|
-
if (!this.selectedFormat.isGiovanniFormat) {
|
|
2386
|
-
return null;
|
|
2387
|
-
}
|
|
2388
|
-
if (this.selectedVariables.length === 0) {
|
|
2389
|
-
return "Please select a variable to subset.";
|
|
2390
|
-
}
|
|
2391
|
-
if (this.selectedVariables.length > 1) {
|
|
2392
|
-
return "The selected format only supports subsetting one variable at a time.";
|
|
2393
|
-
}
|
|
2394
|
-
return null;
|
|
2395
|
-
};
|
|
2396
|
-
TerraDataSubsetter.styles = [component_styles_default, data_subsetter_styles_default];
|
|
2397
|
-
TerraDataSubsetter.dependencies = {
|
|
2398
|
-
"terra-accordion": TerraAccordion,
|
|
2399
|
-
"terra-date-picker": TerraDatePicker,
|
|
2400
|
-
"terra-icon": TerraIcon,
|
|
2401
|
-
"terra-input": TerraInput,
|
|
2402
|
-
"terra-spatial-picker": TerraSpatialPicker,
|
|
2403
|
-
"terra-login": TerraLogin,
|
|
2404
|
-
"terra-loader": TerraLoader,
|
|
2405
|
-
"terra-data-access": TerraDataAccess,
|
|
2406
|
-
"terra-dialog": TerraDialog,
|
|
2407
|
-
"terra-dropdown": TerraDropdown,
|
|
2408
|
-
"terra-menu": TerraMenu,
|
|
2409
|
-
"terra-menu-item": TerraMenuItem,
|
|
2410
|
-
"terra-button": TerraButton,
|
|
2411
|
-
"terra-alert": TerraAlert,
|
|
2412
|
-
"terra-slider": TerraSlider
|
|
2413
|
-
};
|
|
2414
|
-
__decorateClass([
|
|
2415
|
-
n({ reflect: true, attribute: "collection-entry-id" })
|
|
2416
|
-
], TerraDataSubsetter.prototype, "collectionEntryId", 2);
|
|
2417
|
-
__decorateClass([
|
|
2418
|
-
n({ reflect: true, attribute: "short-name" })
|
|
2419
|
-
], TerraDataSubsetter.prototype, "shortName", 2);
|
|
2420
|
-
__decorateClass([
|
|
2421
|
-
n({ reflect: true, attribute: "version" })
|
|
2422
|
-
], TerraDataSubsetter.prototype, "version", 2);
|
|
2423
|
-
__decorateClass([
|
|
2424
|
-
n({
|
|
2425
|
-
reflect: true,
|
|
2426
|
-
type: Boolean,
|
|
2427
|
-
attribute: "show-collection-search"
|
|
2428
|
-
})
|
|
2429
|
-
], TerraDataSubsetter.prototype, "showCollectionSearch", 2);
|
|
2430
|
-
__decorateClass([
|
|
2431
|
-
n({ reflect: true, type: Boolean, attribute: "show-history-panel" })
|
|
2432
|
-
], TerraDataSubsetter.prototype, "showHistoryPanel", 2);
|
|
2433
|
-
__decorateClass([
|
|
2434
|
-
n({ reflect: true, attribute: "job-id" })
|
|
2435
|
-
], TerraDataSubsetter.prototype, "jobId", 2);
|
|
2436
|
-
__decorateClass([
|
|
2437
|
-
n({ attribute: "bearer-token" })
|
|
2438
|
-
], TerraDataSubsetter.prototype, "bearerToken", 2);
|
|
2439
|
-
__decorateClass([
|
|
2440
|
-
n()
|
|
2441
|
-
], TerraDataSubsetter.prototype, "features", 2);
|
|
2442
|
-
__decorateClass([
|
|
2443
|
-
n({ reflect: true })
|
|
2444
|
-
], TerraDataSubsetter.prototype, "dialog", 2);
|
|
2445
|
-
__decorateClass([
|
|
2446
|
-
n({ reflect: true, type: Boolean, attribute: "is-history-view" })
|
|
2447
|
-
], TerraDataSubsetter.prototype, "isHistoryView", 2);
|
|
2448
|
-
__decorateClass([
|
|
2449
|
-
r()
|
|
2450
|
-
], TerraDataSubsetter.prototype, "collectionWithServices", 2);
|
|
2451
|
-
__decorateClass([
|
|
2452
|
-
r()
|
|
2453
|
-
], TerraDataSubsetter.prototype, "selectedVariables", 2);
|
|
2454
|
-
__decorateClass([
|
|
2455
|
-
r()
|
|
2456
|
-
], TerraDataSubsetter.prototype, "selectedDimensionIndexes", 2);
|
|
2457
|
-
__decorateClass([
|
|
2458
|
-
r()
|
|
2459
|
-
], TerraDataSubsetter.prototype, "expandedVariableGroups", 2);
|
|
2460
|
-
__decorateClass([
|
|
2461
|
-
r()
|
|
2462
|
-
], TerraDataSubsetter.prototype, "variableFilterText", 2);
|
|
2463
|
-
__decorateClass([
|
|
2464
|
-
r()
|
|
2465
|
-
], TerraDataSubsetter.prototype, "touchedFields", 2);
|
|
2466
|
-
__decorateClass([
|
|
2467
|
-
r()
|
|
2468
|
-
], TerraDataSubsetter.prototype, "spatialSelection", 2);
|
|
2469
|
-
__decorateClass([
|
|
2470
|
-
r()
|
|
2471
|
-
], TerraDataSubsetter.prototype, "selectedDateRange", 2);
|
|
2472
|
-
__decorateClass([
|
|
2473
|
-
r()
|
|
2474
|
-
], TerraDataSubsetter.prototype, "selectedFormat", 2);
|
|
2475
|
-
__decorateClass([
|
|
2476
|
-
r()
|
|
2477
|
-
], TerraDataSubsetter.prototype, "cancelingGetData", 2);
|
|
2478
|
-
__decorateClass([
|
|
2479
|
-
r()
|
|
2480
|
-
], TerraDataSubsetter.prototype, "selectedTab", 2);
|
|
2481
|
-
__decorateClass([
|
|
2482
|
-
r()
|
|
2483
|
-
], TerraDataSubsetter.prototype, "refineParameters", 2);
|
|
2484
|
-
__decorateClass([
|
|
2485
|
-
r()
|
|
2486
|
-
], TerraDataSubsetter.prototype, "collectionSearchType", 2);
|
|
2487
|
-
__decorateClass([
|
|
2488
|
-
r()
|
|
2489
|
-
], TerraDataSubsetter.prototype, "collectionSearchQuery", 2);
|
|
2490
|
-
__decorateClass([
|
|
2491
|
-
r()
|
|
2492
|
-
], TerraDataSubsetter.prototype, "collectionSearchLoading", 2);
|
|
2493
|
-
__decorateClass([
|
|
2494
|
-
r()
|
|
2495
|
-
], TerraDataSubsetter.prototype, "collectionSearchResults", 2);
|
|
2496
|
-
__decorateClass([
|
|
2497
|
-
r()
|
|
2498
|
-
], TerraDataSubsetter.prototype, "collectionLoading", 2);
|
|
2499
|
-
__decorateClass([
|
|
2500
|
-
r()
|
|
2501
|
-
], TerraDataSubsetter.prototype, "collectionAccordionOpen", 2);
|
|
2502
|
-
__decorateClass([
|
|
2503
|
-
r()
|
|
2504
|
-
], TerraDataSubsetter.prototype, "dataAccessMode", 2);
|
|
2505
|
-
__decorateClass([
|
|
2506
|
-
r()
|
|
2507
|
-
], TerraDataSubsetter.prototype, "validationError", 2);
|
|
2508
|
-
__decorateClass([
|
|
2509
|
-
r()
|
|
2510
|
-
], TerraDataSubsetter.prototype, "granuleMinDate", 2);
|
|
2511
|
-
__decorateClass([
|
|
2512
|
-
r()
|
|
2513
|
-
], TerraDataSubsetter.prototype, "granuleMaxDate", 2);
|
|
2514
|
-
__decorateClass([
|
|
2515
|
-
r()
|
|
2516
|
-
], TerraDataSubsetter.prototype, "giovanniConfiguredVariables", 2);
|
|
2517
|
-
__decorateClass([
|
|
2518
|
-
e('[part~="spatial-picker"]')
|
|
2519
|
-
], TerraDataSubsetter.prototype, "spatialPicker", 2);
|
|
2520
|
-
__decorateClass([
|
|
2521
|
-
e("terra-dialog")
|
|
2522
|
-
], TerraDataSubsetter.prototype, "dialogElement", 2);
|
|
2523
|
-
__decorateClass([
|
|
2524
|
-
watch(["jobId"], { waitUntilFirstUpdate: true })
|
|
2525
|
-
], TerraDataSubsetter.prototype, "jobIdChanged", 1);
|
|
2526
|
-
__decorateClass([
|
|
2527
|
-
watch(["shortName", "version"])
|
|
2528
|
-
], TerraDataSubsetter.prototype, "shortNameAndVersionChanged", 1);
|
|
2529
|
-
__decorateClass([
|
|
2530
|
-
watch("collectionEntryId", { waitUntilFirstUpdate: true })
|
|
2531
|
-
], TerraDataSubsetter.prototype, "collectionEntryIdChanged", 1);
|
|
2532
|
-
__decorateClass([
|
|
2533
|
-
watch(["collectionWithServices"])
|
|
2534
|
-
], TerraDataSubsetter.prototype, "collectionChanged", 1);
|
|
2535
|
-
__decorateClass([
|
|
2536
|
-
watch(["granuleMinDate", "granuleMaxDate"])
|
|
2537
|
-
], TerraDataSubsetter.prototype, "granuleDatesChanged", 1);
|
|
2538
|
-
__decorateClass([
|
|
2539
|
-
watch("selectedFormat")
|
|
2540
|
-
], TerraDataSubsetter.prototype, "selectedFormatChanged", 1);
|
|
2541
|
-
__decorateClass([
|
|
2542
|
-
debounce(500)
|
|
2543
|
-
], TerraDataSubsetter.prototype, "handleCollectionSearch", 1);
|
|
2544
|
-
|
|
2545
|
-
export {
|
|
2546
|
-
TerraDataSubsetter
|
|
2547
|
-
};
|