SlideRuleEarth / sliderule

Server and client framework for on-demand science data processing in the cloud
https://slideruleearth.io
Other
27 stars 12 forks source link

No results querying data from brown.slideruleearth.io #363

Closed kmilo9999 closed 4 months ago

kmilo9999 commented 8 months ago

Hello,

Is there anything wrong with https://brown.slideruleearth.io ? I am using the following params, but getting no results:

params_yapc = {
    "srt": 1,
    "len": 20,
    "ats": 3,
    "res": 10,
    "dist_in_seg": False,  # if False units of len and res are in meters
    "track": 0,
    "pass_invalid": False,
    "cnf": 2,
    "cnt": 20,
    "sigma_r_max": 4,  # maximum standard deviation of photon in extend
    "maxi": 10,
    "yapc": dict(
        knn=0, win_h=6, win_x=11, min_ph=4, score=100
    ),  # use the YAPC photon classifier; these are the recommended parameters, but the results might be more specific with a smaller win_h value, or a higher score cutoff
    #   "yapc": dict(knn=0, win_h=3, win_x=11, min_ph=4, score=50),  # use the YAPC photon classifier; these are the recommended parameters, but the results might be more specific with a smaller win_h value, or a higher score cutoff
    "atl03_geo_fields": ["dem_h"],
}
gdf = icesat2.atl06p(params_yapc, resources=[ATL03_track_name]) 

Thank you for your help

jpswinski commented 8 months ago

I'll take a look. Can you provide the name of the granule you are processing - the one in the ATL03_track_name variable?

kmilo9999 commented 8 months ago

Hello, the value of that variable is: ATL03_20190502052058_05180312_005_01.h5

Thank you!

jpswinski commented 8 months ago

I've confirmed that the file does not get processed on the brown cluster - on the backend, it is reporting an Access Denied error response. I've also confirmed that this file is successfully processed on our public cluster. I will continue to drill down and will let you know what I find.

cpaniaguam commented 8 months ago

@jpswinski How does one access the public cluster? Doing something like

icesat2.init("slideruleearth.io")
gdf = icesat2.atl06p(params_yapc, resources=[ATL03_track_name])

still retrieves no data. Thanks!

jpswinski commented 8 months ago

I've gotten to the bottom of the issue and here is a summary of what happened and some options for moving forward. Thanks for reporting this issue, and working with us to get it resolved.

The problem

Possible Solution 1 (preferred)

Possible Solution 2

jpswinski commented 8 months ago

@jpswinski How does one access the public cluster? Doing something like

icesat2.init("slideruleearth.io")
gdf = icesat2.atl06p(params_yapc, resources=[ATL03_track_name])

still retrieves no data. Thanks!

@cpaniaguam That looks right. When I tested it on the public cluster, it worked fine for me. If you are using a Jupyter Notebook, maybe try restarting your kernel as I wonder if the organization setting is getting cached in the client.

kmilo9999 commented 8 months ago

It works on my side again!
First options works for us as well. We can set our project to work with the latest python client 👍 Thank you !