Git Product home page Git Product logo

Comments (2)

JennyFArthur avatar JennyFArthur commented on July 19, 2024

Hello team Icepyx,

I am running into the same problem with reader.load(). When I try to load the data use reader.load(), this returns a KeyError: ‘orbit_info’. When running region_a.order_granules(), I also noticed that four granules are missing some data (e.g. ‘Granule 229005537 contained no data within the spatial and/or temporal subset constraints to be processed’).

My intention is to use the ICESat2 ATL06 v05 product to look at elevation change/anomalies over a small region of the East Antarctic Ice Sheet. I want to be able to visualise the data, and then potentially later convert to a geopandas dataframe to work further with it in GIS.

Have you got any suggestions for dealing with this error?

My download query and code for loading the data is:

short_name = 'ATL06'
spatial_extent = "filepath to polygon shapefile"
date_range = ['2020-01-01','2020-02-28']
region_a = ipx.Query(short_name, spatial_extent, date_range)
region_a.earthdata_login(earthdata_uid, email)
region_a.order_vars.append(defaults=True,var_list=['latitude','longitude','h_li']) 
region_a.subsetparams(Coverage=region_a.order_vars.wanted)
region_a.order_granules(verbose=True, subset=True, email=True)
region_a.download_granules(path)

path_root = 'filepath to download location'
pattern = "processed_ATL{product:2}_{datetime:%Y%m%d%H%M%S}_{rgt:4}{cycle:2}{orbitsegment:2}_{version:3}_{revision:2}.h5"
reader = ipx.Read(data_source=path_root, product="ATL06", filename_pattern=pattern) 
reader.vars.append(var_list=['h_li', 'latitude', 'longitude'])
ds = reader.load()
ds

from icepyx.

JessicaS11 avatar JessicaS11 commented on July 19, 2024

Thanks for reporting that you're also having this issue, @JennyFArthur (and I noted that you also posted on Discourse). Unfortunately, no one has come forward to work on a bug fix, and I haven't gotten to it yet either. Were you able to try any of the potential near-term solutions suggested in the Discourse thread?

from icepyx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.