-
Notifications
You must be signed in to change notification settings - Fork 6
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
GSI DA app errors with ncio/1.1.1 create_dataset #62
Comments
Tagging @jswhit (ncio developer), @MichaelLueken-NOAA (GSI app CM), @WalterKolczynski-NOAA (g-w CM) , and @kgerheiser (nceplibs CM) for awareness. Resolution of this issue impacts and perhaps other open issues. |
Do we have a sample input file we can use for testing? |
It seems we can demonstrate the behavior with any atmfXXX.nc or sfcfXXX.nc. I took source code for GSI DA app The test source code is on Orion in
|
Can you submit a PR with these files added to the test directory? |
@RussTreadon-NOAA @jswhit The issue is with
with:
The full analysis for
rather than:
@RussTreadon-NOAA Would you mind running a test using:
and
|
I can open a PR but I do not have a branch to merge. I opened this issue on behalf of others. Developers can not run cycled global parallels from the head of the NOAA-EMC/GSI and global-workflow |
@edwardhartnett The file,
The issue appears to be one that the use of write_vardata isn't strenuously tested (at least, not for 1d arrays). |
@MichaelLueken-NOAA , thank you for looking into this and developing a fix. I used your
'pfull` contains
I also reran an eobs job on Mars using the recompiled GSI DA apps. Your fix is working! |
I've created a PR (PR #63) to fix the problem in write_vardata_code.f90 (thanks @MichaelLueken-NOAA). I've also added a test for reading the grid_xt variable in tst_ncio.F90. One thing that needs a little more thought is how unlimited dimensions are treated in write_vardata_code.f90 |
fix for issue #62 (create_dataset errors for 1d variables)
NOAA-EMC/GSI DA apps built using
ncio/1.1.1
do not correctly copy all data from the input netcdf file to the output file via thecreate_dataset
call withcopy_vardata=.true.
grid_xt
,grid_yt
,lat
,lon
, pfull, and ``phalf
are incorrect in the output file opened bycreate_dataset
. For example, while the input file hasthe output file created by
create_dataset
containsThis comment applies to both atmfXXX.nc and sfcfXXX.nc files created by the current operational gfs.v16.1.8 and atm and sfc nc files created by ufs_model tag
Prototype-P8c
This issue is opened to report this issue and track its resolution.
The text was updated successfully, but these errors were encountered: