diff --git a/package.json b/package.json index 33b22931..355cb650 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pc-datacatalog", - "version": "2025.4.3", + "version": "2025.5.1", "private": true, "proxy": "http://api:7071/", "dependencies": { diff --git a/src/components/Header/Header.index.tsx b/src/components/Header/Header.index.tsx index 501f4872..62d6dbc6 100644 --- a/src/components/Header/Header.index.tsx +++ b/src/components/Header/Header.index.tsx @@ -2,6 +2,7 @@ import { headerStyle } from "./styles"; import { gridContentStyle, offGridContentStyle } from "styles"; import { HeaderBar } from "./Header.Bar"; import { HeaderOverflow } from "./Header.Overflow"; +import { PlanetaryComputerProAnnouncement } from "./components/PlanetaryComputerProAnnouncement"; const Header = ({ onGrid = true }) => { const navClass = onGrid ? gridContentStyle : offGridContentStyle; @@ -12,6 +13,7 @@ const Header = ({ onGrid = true }) => { + ); }; diff --git a/src/components/Header/components/PlanetaryComputerProAnnouncement.tsx b/src/components/Header/components/PlanetaryComputerProAnnouncement.tsx new file mode 100644 index 00000000..8059f0e5 --- /dev/null +++ b/src/components/Header/components/PlanetaryComputerProAnnouncement.tsx @@ -0,0 +1,37 @@ +import { MessageBar, MessageBarType, Link } from "@fluentui/react"; +import { useState, useEffect } from "react"; +import { messageBarStyle } from "../styles"; + +const sessionStorageKey = "pcProMessageDismissed"; + +export function PlanetaryComputerProAnnouncement() { + const [isDismissed, setIsDismissed] = useState(false); + useEffect(() => { + const dismissed = sessionStorage.getItem(sessionStorageKey); + if (dismissed === "true") { + setIsDismissed(true); + } + }, []); + const onDismiss = () => { + sessionStorage.setItem(sessionStorageKey, "true"); + setIsDismissed(true); + }; + if (isDismissed) { + return null; + } + return ( + + Announcing Microsoft Planetary Computer Pro - Bring the power of the Planetary + Computer to your private geospatial data. + + Click here to learn more + + + ); +} diff --git a/src/components/Header/styles.ts b/src/components/Header/styles.ts index 9c9d4bf9..f94458f9 100644 --- a/src/components/Header/styles.ts +++ b/src/components/Header/styles.ts @@ -74,3 +74,7 @@ export const breakStyle = mergeStyles({ export const rightAligned = mergeStyles({ marginLeft: "auto !important", }); + +export const messageBarStyle = mergeStyles({ + margin: "10px 0", +}); diff --git a/src/config/datasetGroups.yml b/src/config/datasetGroups.yml index 5f2a6a55..0818ea4d 100644 --- a/src/config/datasetGroups.yml +++ b/src/config/datasetGroups.yml @@ -647,24 +647,22 @@ esa-cci-lc: hls2: title: Harmonized Landsat and Sentinel-2 (HLS) v2.0 short_description: > - Harmonized Landsat Sentinel-2 (HLS) Version 2.0 provides consistent surface - reflectance (SR) and top of atmosphere (TOA) brightness data from the Operational - Land Imager (OLI) aboard the joint NASA/USGS Landsat 8 satellite and the - Multi-Spectral Instrument (MSI) aboard the ESA (European Space Agency) - Sentinel-2A and Sentinel-2B satellites. + Harmonized Landsat Sentinel-2 (HLS) Version 2.0 provides consistent surface reflectance (SR) + and top of atmosphere (TOA) brightness data from the Operational Land Imager (OLI) aboard the + joint NASA/USGS Landsat 8 and Landsat 9 satellites and the Multi-Spectral Instrument (MSI) + aboard the ESA (European Space Agency) Sentinel-2A, Sentinel-2B, and Sentinel-2C satellites. description: > - Harmonized Landsat Sentinel-2 (HLS) Version 2.0 provides consistent surface - reflectance (SR) and top of atmosphere (TOA) brightness data from the Operational - Land Imager (OLI) aboard the joint NASA/USGS Landsat 8 satellite and the - Multi-Spectral Instrument (MSI) aboard the ESA (European Space Agency) - Sentinel-2A and Sentinel-2B satellites. The combined measurement enables global - observations of the land every 2-3 days at 30 meter (m) spatial resolution. - The HLSS30 and HLSL30 products are gridded to the same resolution and Military - Grid Reference System (MGRS) tiling and are “stackable” for time series analysis. - This dataset is in the form of [cloud-optimized GeoTIFFs](https://www.cogeo.org/). - The HLS v2.0 data is generated by NASA's IMPACT team at Marshall Space Flight Center. - The product latency is 1.7 days, from the satellite overpass to the HLS data - availability at LP DAAC. For more information see LP DAAC's + Harmonized Landsat Sentinel-2 (HLS) Version 2.0 provides consistent surface reflectance (SR) + and top of atmosphere (TOA) brightness data from the Operational Land Imager (OLI) aboard the + joint NASA/USGS Landsat 8 and Landsat 9 satellites and the Multi-Spectral Instrument (MSI) + aboard the ESA (European Space Agency) Sentinel-2A, Sentinel-2B, and Sentinel-2C satellites. + The combined measurement enables global observations of the land every 2-3 days at 30 meter + (m) spatial resolution. The HLS-S30 and HLS-L30 products are gridded to the same resolution and + Military Grid Reference System (MGRS) tiling system and are "stackable" for time series analysis. + This dataset is in the form of cloud-optimized GeoTIFFs. The HLS v2.0 data is generated by NASA's + IMPACT team at Marshall Space Flight Center. The product latency is 1.7 days, from the satellite + overpass to the HLS data availability at NASA's Land Processes Distributed Active Archive Center + (LP DAAC). For more information see LP DAAC's [HLS Overview](https://lpdaac.usgs.gov/data/get-started-data/collection-overview/missions/harmonized-landsat-sentinel-2-hls-overview/). assets: headerImg: