From b9d963cd06eee896c8a2e3a121cd310640934480 Mon Sep 17 00:00:00 2001 From: Camilo Diaz Date: Wed, 6 Mar 2024 10:28:40 -0500 Subject: [PATCH] fixed bug in spectral_estimates.py --- src/icesat2_tracks/ICEsat2_SI_tools/spectral_estimates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/icesat2_tracks/ICEsat2_SI_tools/spectral_estimates.py b/src/icesat2_tracks/ICEsat2_SI_tools/spectral_estimates.py index 145087c..fd619cd 100644 --- a/src/icesat2_tracks/ICEsat2_SI_tools/spectral_estimates.py +++ b/src/icesat2_tracks/ICEsat2_SI_tools/spectral_estimates.py @@ -451,7 +451,7 @@ def calc_spectrum_apply(stancil): xi: xr.DataArray( I, dims=["k"], - coords={"k": self.k, "x": xi * self.dx}, + coords={"k": self.k, "x": xi }, name=self.spec_name, ) for xi, I in D_specs.items()