Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add specific humidity to the ADPUPA BUFR Python Converter #1193

Open
PraveenKumar-NOAA opened this issue Jun 21, 2024 · 6 comments
Open

Add specific humidity to the ADPUPA BUFR Python Converter #1193

PraveenKumar-NOAA opened this issue Jun 21, 2024 · 6 comments
Assignees

Comments

@PraveenKumar-NOAA
Copy link
Collaborator

The main goal of this issue is to:

  • Extract the specific humidity calculation informations from the prepBUFR codes
  • Document them
  • Add this to the the ADPUPA BUFR Python Converter
  • Run end-to-end tests using global-workflow
@PraveenKumar-NOAA PraveenKumar-NOAA self-assigned this Jun 21, 2024
@PraveenKumar-NOAA
Copy link
Collaborator Author

The specific humidity informations were extracted from the prepBUFR codes, added to the ADPUPA BUFR Converter. Run the converter and created the IODA/ netCDF file.

The following plots were created for the BUFR and prepBUFR specificHumidity using the IODA/netCDF files created using the BUFR and prepBUFR converters, respectively.

BUFR: specificHumidity
bufr_sH

prepBUFR: specificHumidity
prepbufr_sH

@PraveenKumar-NOAA
Copy link
Collaborator Author

Analysis for BUFR data:
Total Count: 45594 Max: 0.273 Min: 0.000 Mean: 0.005 Std: 0.008

Analysis for prepBUFR data:
Total Count: 32005 Max: 0.027 Min: 0.000 Mean: 0.002 Std: 0.004

It seems that prepBUFR QC reduced the number of obs from 45594 to 32005.

@emilyhcliu please look at this.

@PraveenKumar-NOAA
Copy link
Collaborator Author

PraveenKumar-NOAA commented Jul 16, 2024

BUFR (corrected) vs prepBUFR analysis for specificHumidity:

BUFR - Total Count: 37556 Max: 0.027 Min: 0.000 Mean: 0.003 Std: 0.004
prepBUFR - Total Count: 32005 Max: 0.027 Min: 0.000 Mean: 0.002 Std: 0.004

The updated plot of specificHumidity for BUFR:

bufr_sH (2)

Plot for prepBUFR:

prepbufr_sH (2)

@emilyhcliu please check these plots and data analysis for specificHumidity.

@PraveenKumar-NOAA
Copy link
Collaborator Author

@nicholasesposito please look at the sH plots for BUFR vs prepBUFR.

@nicholasesposito
Copy link
Collaborator

Most of the data points look the same, which I think is good. The max, min and std are the same, which is also good, though the mean is slightly different. It's hard to say if that's ok since the values are so low to begin with.

Two things I think you should look into.

  1. Do a histogram of sH values to see how they compare.
  2. Since they're sondes, I'm imagining the data lower to the ground is greater than sH higher up. So I would also plot a Pressure (y-axis) vs sH (x-axis) so you can see where in the atmosphere the biggest differences are.

@PraveenKumar-NOAA
Copy link
Collaborator Author

specificHumidity vs pressure scatter plots:

prepBUFR:
prepbufr_sHp

BUFR:
bufr_sHp

CoryMartin-NOAA pushed a commit that referenced this issue Aug 7, 2024
This PR adds specificHumidity to the ADPUPA BUFR DUMP Python API. The
following file has been changed:
~/ush/ioda/bufr2ioda/bufr2ioda_adpupa.py

The specificHumidity is calculated using the dewPoint and pressure. The
information is extracted from the prepBUFR codes and also documented.

The validation of the output obs is performed using the specificHumidity
from the prepBUFR data. For more details, please check: #1193

Co-authored-by: Praveen Singh <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants