-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue on page /tutorials/bathymetry/bathymetry_tutorial.html #115
Comments
Thanks for the report @hanamthang. This looks like an issue with changes to the SlideRule API since the tutorial notebook was created. |
@hanamthang - sorry for the confusion and thanks for reaching out; it is as @dshean indicated, there have been some breaking updates to the server-side code and client package. We hated making those breaking changes, but we really needed to clean up some things that were causing confusion. Here are the applicable changes:
|
@jonm3D, not sure how much effort would be required on your end, but maybe worth pushing an update to the bathy tutorial with these changes? It is clearly a valuable resource for the larger community outside of the hackweek event :) |
@dshean and @jpswinski My appreciation for your quick support. Your codes are really well done and I believe that the codes here significantly benefit a wider community to use the derived bathymetry data in the waiting time for ALT24 release. Could you please help me a bit about the parameters inside the codes?
Thank you for your time and have a good day. Thang |
Hi Thang. I'm afraid that JP and I can't really offer any support here. This tutorial was prepared by @jonm3D for the 2023 Hackweek event. He and others continue to refine the ICESat-2 shallow bathymetry methods, but they probably won't modify this tutorials, and may not be monitoring issues here. |
Thank you very much for the great work, which help me a lot in extracting the water depths from IceSat 2 data.
During the implementation of the codes, I got the error:
TypeError: atl03sp() got an unexpected keyword argument 'asset'
when using
df_0 = icesat2.atl03sp(parms,asset=asset, version='006', resources=granules_list)
Remove
asset=asset, version='006'
can make the codes work.However, I can not get the similar list as your features:
Available photon-rate features: ['sc_orient' 'solar_elevation' 'rgt' 'track' 'background_rate' 'segment_id' 'segment_dist' 'cycle' 'distance' 'snowcover' 'atl08_class' 'quality_ph' 'atl03_cnf' 'landcover' 'relief' 'yapc_score' 'height' 'ref_azimuth' 'ref_elev' 'geoid' 'pair' 'geometry' 'spot']
especially for the feature "distance", which is used in this line:
# add a column for along-track distance df['along_track_meters'] = df['segment_dist']+df['distance']-np.min(df['segment_dist'])
I checked the API of
atl03sp
but it was not mention anything aboutasset
orversion
.Do I miss something here?
Here are my granule
'ATL03_20230725085527_05372007_006_02.h5'
and available features:Available photon-rate features: ['region' 'rgt' 'pair' 'track' 'solar_elevation' 'segment_id' 'background_rate' 'segment_dist' 'sc_orient' 'cycle' 'yapc_score' 'x_atc' 'y_atc' 'landcover' 'quality_ph' 'height' 'relief' 'atl08_class' 'atl03_cnf' 'snowcover' 'ref_azimuth' 'ref_elev' 'geoid' 'geometry' 'spot']
Regards,
Thang
The text was updated successfully, but these errors were encountered: