Skip to content

Commit

Permalink
fix: idx for distance along track in notebook for #73
Browse files Browse the repository at this point in the history
  • Loading branch information
tsutterley committed Mar 23, 2023
1 parent 22ad86a commit 5f740b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions notebooks/Fit ICESat-2 ATL03.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1002,8 +1002,8 @@
" n_pulses = np.unique(ID_pulse).__len__()\n",
" frame_number = np.copy(val['heights']['pce_mframe_cnt'][idx])\n",
" # along-track X and Y coordinates\n",
" distance_along_X = np.copy(x_atc[idx:idx+cnt])\n",
" distance_along_Y = np.copy(y_atc[idx:idx+cnt])\n",
" distance_along_X = np.copy(x_atc[idx])\n",
" distance_along_Y = np.copy(y_atc[idx])\n",
" # average background photon rate for segment\n",
" IS2_atl03_fit[gtx]['land_ice_segments']['geophysical']['bckgrd'] = np.mean(background_rate[idx])\n",
" IS2_atl03_fit[gtx]['land_ice_segments']['geophysical']['bckgrd'].mask[j] = False\n",
Expand Down

0 comments on commit 5f740b8

Please sign in to comment.