Skip to content

Commit

Permalink
add suggestions from review
Browse files Browse the repository at this point in the history
  • Loading branch information
Sara Mirzaee committed Jan 3, 2024
1 parent 72598e2 commit 8dc0fbd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/dolphin/atmosphere/troposphere.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,10 +355,10 @@ def compute_pyaps(delay_parameters: DelayParams) -> np.ndarray:
-(phs_ref - phs_second) * 4.0 * np.pi / delay_parameters.wavelength
)

# Tropo delay datacube
tropo_delay_datacube = np.stack(tropo_delay_datacube_list)
# Create a maksed datacube that excludes the NaN values
tropo_delay_datacube_masked = np.ma.masked_invalid(tropo_delay_datacube)
# Tropo delay datacube
tropo_delay_datacube = np.stack(tropo_delay_datacube_list)
# Create a maksed datacube that excludes the NaN values
tropo_delay_datacube_masked = np.ma.masked_invalid(tropo_delay_datacube)

return tropo_delay_datacube_masked

Expand Down
1 change: 1 addition & 0 deletions src/dolphin/workflows/_cli_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from pathlib import Path
from typing import Optional, Union

from dolphin._types import TropoModel, TropoType
from .config import (
DisplacementWorkflow,
InterferogramNetworkType,
Expand Down

0 comments on commit 8dc0fbd

Please sign in to comment.