dtcenter / METdataio

https://metdataio.readthedocs.io/en/latest/index.html
Apache License 2.0
5 stars 3 forks source link

Feature 240 reformat tcdiag #287

Closed bikegeek closed 5 months ago

bikegeek commented 5 months ago

Pull Request Testing

on 'seneca' using the /d1/personal/mwin/miniconda3/envs/mp_analysis_env conda environment

 run unit tests
 run benchmark 
 generate the reformatted data for sample TC-Pairs output that contains TCMPR and TCDIAG linetype data
 use the output from reformatter to generate TCMPR time series (points with connecting lines) and boxplot plots

work resides on 'seneca' under /d1/projects/METdataio_Reformat_TCDiag

 - METdataio **feature_240_reformat_tcdiag** branch
 - use the conda environment on 'seneca': **/d1/personal/mwin/miniconda3/envs/mp_analysis_env**
 - copy the setup_env.bash to your working directory and make necessary changes, then source it to set up the 
    PYTHONPATH, etc.
 - copy the data file under the **/d1/projects/METdataio_Reformat_TCDiag/DATA** to your working directory (or use
    the data in this location by setting the appropriate path in the **input_data_dir** of the **reformat_stat.yaml** config
    file (see the tcdiag_reformat.yaml file for reference)
 - generate the reformatted TCDIAG linetype data (now consolidated with the corresponding TCMPR linetype data into 
    the same row):

    _python $DATAIO/METreformat/write_stat_ascii.py $DATAIO/METreformat/tcdiag_reformat.yaml_

 Verify that all headers are labelled, with TCMPR and TCDIAG columns 
      TCMPR columns are AMODEL, BMODEL, ...,MAX_WIND_STDEV
      TCDIAG columns (for this data) are: DIAG_SOURCE, ...,PW01

Pull Request Checklist

See the METplus Workflow for details.