Skip to content

Commit

Permalink
Fillout schema for GLAH06
Browse files Browse the repository at this point in the history
  • Loading branch information
trey-stafford committed Oct 16, 2024
1 parent f48816e commit 14a3d24
Showing 1 changed file with 77 additions and 2 deletions.
79 changes: 77 additions & 2 deletions src/nsidc/iceflow/data/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,83 @@ class Config:


class GLAH06Schema(CommonDataColumnsSchema):
# TODO
...
# Note: all of these variables are extracted from the "Data_40HZ" group. We
# may want to support accessing data from the "Data_1HZ" group in the
# future.
i_rec_ndx: Series[int] = pa.Field(coerce=True)
i_shot_count: Series[int] = pa.Field(coerce=True)
d_lat: Series[float]
d_lon: Series[float]
d_elev: Series[float]
d_refRng: Series[float]
d_dTrop: Series[float]
d_satElevCorr: Series[float]
d_GmC: Series[float]
d_wTrop: Series[float]
d_beamCoelv: Series[float]
d_beamAzimuth: Series[float]
d_SigBegOff: Series[float]
d_TrshRngOff: Series[float]
d_SigEndOff: Series[float]
d_cntRngOff: Series[float]
d_isRngOff: Series[float]
d_siRngOff: Series[float]
d_ldRngOff: Series[float]
d_ocRngOff: Series[float]
rng_uqf_sigbeg1_flg: Series[int] = pa.Field(coerce=True)
rng_uqf_sigend1_flg: Series[int] = pa.Field(coerce=True)
rng_uqf_thres1_flg: Series[int] = pa.Field(coerce=True)
rng_uqf_cent1_flg: Series[int] = pa.Field(coerce=True)
rng_uqf_sigbeg2_flg: Series[int] = pa.Field(coerce=True)
rng_uqf_sigend2_flg: Series[int] = pa.Field(coerce=True)
rng_uqf_thres2_flg: Series[int] = pa.Field(coerce=True)
rng_uqf_cent2_flg: Series[int] = pa.Field(coerce=True)
rng_uqf_is_flg: Series[int] = pa.Field(coerce=True)
rng_uqf_si_flg: Series[int] = pa.Field(coerce=True)
rng_uqf_ld_flg: Series[int] = pa.Field(coerce=True)
rng_uqf_oc_flg: Series[int] = pa.Field(coerce=True)
sat_corr_flg: Series[int] = pa.Field(coerce=True)
elev_use_flg: Series[int] = pa.Field(coerce=True)
att_pad_use_flg: Series[int] = pa.Field(coerce=True)
att_calc_pad_flg: Series[int] = pa.Field(coerce=True)
att_lpa_flg: Series[int] = pa.Field(coerce=True)
sigma_att_flg: Series[int] = pa.Field(coerce=True)
i_satNdx: Series[int] = pa.Field(coerce=True)
d_pctSAT: Series[float]
elv_cnt_1_flg: Series[int] = pa.Field(coerce=True)
elv_cnt_2_flg: Series[int] = pa.Field(coerce=True)
elv_peak_1_flg: Series[int] = pa.Field(coerce=True)
elv_peak_2_flg: Series[int] = pa.Field(coerce=True)
elv_thres_flg: Series[int] = pa.Field(coerce=True)
elv_gauss_flg: Series[int] = pa.Field(coerce=True)
elv_other_flg: Series[int] = pa.Field(coerce=True)
elv_cloud_flg: Series[int] = pa.Field(coerce=True)
d_TxNrg: Series[float]
d_d2refTrk: Series[float]
d_DEM_elv: Series[float]
d_ocElv: Series[float]
d_poTide: Series[float]
d_gdHt: Series[float]
d_erElv: Series[float]
d_eqElv: Series[float]
d_ldElv: Series[float]
d_deltaEllip: Series[float]
d_ElevBiasCorr: Series[float]
i_DEM_hires_src_1: Series[int] = pa.Field(coerce=True)
d_reflctUC: Series[float]
d_sDevNsOb1: Series[float]
d_satNrgCorr: Series[float]
d_RecNrgAll: Series[float]
d_skew2: Series[float]
d_kurt2: Series[float]
d_maxRecAmp: Series[float]
d_maxSmAmp: Series[float]
i_nPeaks1: Series[int] = pa.Field(coerce=True)
i_numPk: Series[int] = pa.Field(coerce=True)
i_gval_rcv: Series[int] = pa.Field(coerce=True)
d_FRir_cldtop: Series[float]
FRir_qa_flg: Series[int] = pa.Field(coerce=True)
d_FRir_intsig: Series[float]


IceflowDataFrame = DataFrame[CommonDataColumnsSchema]
Expand Down

0 comments on commit 14a3d24

Please sign in to comment.