diff --git a/demo/pages/index.js b/demo/pages/index.js index 380b09a..23bd43a 100644 --- a/demo/pages/index.js +++ b/demo/pages/index.js @@ -13,7 +13,7 @@ const Index = () => { const [display, setDisplay] = useState(true) const [debug, setDebug] = useState(false) const [opacity, setOpacity] = useState(1) - const [clim, setClim] = useState([-20, 30]) + const [clim, setClim] = useState([2000, 3000]) const [month, setMonth] = useState(1) const [band, setBand] = useState('tavg') const [colormapName, setColormapName] = useState('warm') @@ -31,7 +31,6 @@ const Index = () => { setBand, setColormapName, } - return ( <> { /> - + /> */} { display={display} opacity={opacity} mode={'texture'} - source={bucket + 'v2/demo/4d/tavg-prec-month'} - variable={'climate'} - selector={{ month, band }} + source={ + 'https://carbonplan-scratch.s3.us-west-2.amazonaws.com/pyramid_test_consolidated/GPM_3IMERGDF.07' + } + variable={'precipitation'} + selector={{ + time: 11109, + }} regionOptions={{ setData: setRegionData }} />