# Granules meeting search criteria contain no data

**URL:** <https://discourse.pangeo.io/t/granules-meeting-search-criteria-contain-no-data/760>\
**Category:** ICESat-2\
**Created:** [July 23, 2020, 11:37pm UTC](https://discourse.pangeo.io/t/granules-meeting-search-criteria-contain-no-data/760 "2020-07-23T23:37:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nina.aragon](https://avatars.discourse-cdn.com/v4/letter/n/c67d28/32.png) [@nina.aragon](https://discourse.pangeo.io/u/nina.aragon)\
**Post date:** [July 23, 2020, 11:37pm UTC](https://discourse.pangeo.io/t/granules-meeting-search-criteria-contain-no-data/760/1 "2020-07-23T23:37:45Z")

</div>

I recently ran into a problem with downloading data and I am wondering if you could help me understand what is going wrong.

From icepyx, I used:

`print(region.avail_granules(ids=True))`

to gather a list of granules that matched my search criteria, and then I did:

`region.download_granules(data_home)`

to download the data.

This is the error I receive:

 ![Screen Shot 2020-07-10 at 8.51.52 AM](https://canada1.discourse-cdn.com/flex030/uploads/pangeo/original/1X/dc761e2c366b969bca4eb0335a878bbc08e5a68c.png)

I am confused because it seems that it is telling me there is a granule available, but then it is saying that there is no data?

---

<div class="post-metadata">

**Author:** ![jhamman](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pangeo.io/jhamman/32/34_2.png) [@jhamman](https://discourse.pangeo.io/u/jhamman)\
**Post date:** [July 24, 2020, 6:31pm UTC](https://discourse.pangeo.io/t/granules-meeting-search-criteria-contain-no-data/760/2 "2020-07-24T18:31:41Z")

</div>

Welcome @nina.aragon to the Pangeo Discourse Forum. I don’t have an answer for you question but I bet @JessicaS11does!

---

<div class="post-metadata">

**Author:** ![JessicaS11](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pangeo.io/jessicas11/32/229_2.png) [@JessicaS11](https://discourse.pangeo.io/u/JessicaS11)\
**Post date:** [July 24, 2020, 7:35pm UTC](https://discourse.pangeo.io/t/granules-meeting-search-criteria-contain-no-data/760/3 "2020-07-24T19:35:29Z")

</div>

Welcome @nina.aragon, and thanks for posting your question!

You’re right to be confused by these contradictory messages! They’re the result of using granule (file) metadata to perform an initial, fast search for data prior to order/download of that data. The initial query step (`region.avail_granules()`) uses summary metadata to identify granules that likely have data where you’re interested, so it often returns a few granules that might have a few border pixels within your area of interest. However, when the subsetter actually runs (as part of `region.download_granules()`), it’s finding that there are no data points within your region of interest. Figure 1 on [this page](https://nsidc.org/support/how/how-do-i-programmatically-request-data-services) has a pictorial representation of this phenomena that can be helpful to understand what’s going on.

In short, what the error is telling you is that there is no ICESat-2 data available for the region (and time period) you specified. NSIDC is also working to minimize this issue (by improving the granule metadata) and provide clearer error reporting. If you _have_ found data for the constraints you are using through another source (e.g. Earthdata or OpenAltimetry), then that points to a potential issue in icepyx that we should look into.

I’d suggest expanding either your temporal or spatial search parameters to see if you can find some data for your area. Please let us know if you continue to have this issue.
