Skip to content

Commit

Permalink
Changed code to avoid error
Browse files Browse the repository at this point in the history
  • Loading branch information
SteffanDavies committed Aug 1, 2023
1 parent 9a84954 commit 02eea7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygmtsar/pygmtsar/SBAS_orbits.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def download_orbits(self):
from eof.download import download_eofs

# For each date get a single product with missing orbit
sbas_df_missingorb = self.df.where(self.df.orbitpath.isna())
sbas_df_missingorb = sbas.df[sbas.df.orbitpath.isna()]
sbas_df_missingorb = sbas_df_missingorb[~sbas_df_missingorb.index.duplicated(keep="first")]

# Apply orbit to products of same date
Expand Down

0 comments on commit 02eea7b

Please sign in to comment.