Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions GEOSaana_GridComp/GSI_GridComp/setuptcp.f90
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ subroutine setuptcp(obsLL,odiagLL,lunin,mype,bwork,awork,nele,nobs,is,conv_diags
! 2020-02-26 todling - reset obsbin from hr to min
! 2025-03-25 sienkiewicz - make sure ratio_errors is defined before use (prior to oberror_tune code)
! 2025-07-08 sienkiewicz - modify obs error output for ncdiag (JEDI) to Pa, similar to handling in setupps
! 2025-10-09 sienkiewicz - Observation and Obs_Minus_Forecast also converted to Pa, added forecast
! values to ncdiag as in setupps
!
! input argument list:
!
Expand Down Expand Up @@ -693,9 +695,11 @@ subroutine contents_netcdf_diag_(odiag)
call nc_diag_metadata("Error_Input", sngl(error_input*r1000) ) ! Pa
call nc_diag_metadata("Error_Adjust", sngl(error_adjst*r1000) ) ! Pa

call nc_diag_metadata("Observation", sngl(pob) )
call nc_diag_metadata("Obs_Minus_Forecast_adjusted", sngl(pob-pges) )
call nc_diag_metadata("Obs_Minus_Forecast_unadjusted", sngl(pob-pgesorig))
call nc_diag_metadata("Observation", sngl(pob*r100) )
call nc_diag_metadata("Obs_Minus_Forecast_adjusted", sngl((pob-pges)*r100) )
call nc_diag_metadata("Obs_Minus_Forecast_unadjusted", sngl((pob-pgesorig)*r100))
call nc_diag_metadata("Forecast_adjusted",sngl(pges*r100))
call nc_diag_metadata("Forecast_unadjusted",sngl(pgesorig*r100))


if (lobsdiagsave) then
Expand Down
Loading