microsoft / PlanetaryComputer

Issues, discussions, and information about the Microsoft Planetary Computer
https://planetarycomputer.microsoft.com/
MIT License
185 stars 9 forks source link

Missing landsat file #208

Closed jessjaco closed 1 year ago

jessjaco commented 1 year ago

I'm getting a file not found error with this file: https://landsateuwest.blob.core.windows.net/landsat-c2/level-2/standard/oli-tirs/2022/036/077/LC09_L2SR_036077_20221103_20221105_02_T2/LC09_L2SR_036077_20221103_20221105_02_T2_QA_PIXEL.TIF

TomAugspurger commented 1 year ago

I believe this specific file has been fixed:

import planetary_computer
import pystac_client
import httpx

href = planetary_computer.sign("https://landsateuwest.blob.core.windows.net/landsat-c2/level-2/standard/oli-tirs/2021/055/076/LC08_L2SR_055076_20211231_20220106_02_T2/LC08_L2SR_055076_20211231_20220106_02_T2_SR_B4.TIF")
r = httpx.get(href)
r.content[:100]

b'II*\x00\x08\x00\x00\x00\x12\x00\x00\x01\x03\x00\x01\x00\x00\x00\xf7\x1d\x00\x00\x01\x01\x03\x00\x01\x00\x00\x00Q\x1e\x00\x00\x02\x01\x03\x00\x01\x00\x00\x00\x10\x00\x00\x00\x03\x01\x03\x00\x01\x00\x00\x00\x08\x00\x00\x00\x06\x01\x03\x00\x01\x00\x00\x00\x01\x00\x00\x00\x15\x01\x03\x00\x01\x00\x00\x00\x01\x00\x00\x00\x1c\x01\x03\x00\x01\x00\x00\x00\x01\x00\x00\x00=\x01\x03\x00\x01\x00'

Follow #101 for more.