Skip to content

identical descriptor files are incorrectly associated with different time axes #1984

@AndrewWittenberg

Description

@AndrewWittenberg

This bug is crashing our automated analyses at GFDL, so I'm requesting the highest priority. It's probably worth reaching out to Ansley for initial clues, as she may have done some recent work on this.

Setup: create two NetCDF files, and then wrap them in descriptors using make_des:

 	NOAA/PMEL TMAP
 	FERRET v7.6 (optimized)
 	Linux 2.6.32-754.29.2.el6.x86_64 64-bit - 06/25/20
 	13-Nov-20 13:09     

yes? use monthly_navy_winds
yes? set reg/y=0/x=140w
yes? save/clob/file=uwnd.nc uwnd
yes? save/clob/file=vwnd.nc vwnd
yes? sp make_des uwnd.nc > uwnd.des
yes? sp make_des vwnd.nc > vwnd.des

The resulting descriptors point to NetCDF files with identical grids, so they ought to appear on the same grid (and axes) when we use them in Ferret.

But the new Ferret v7.6 puts them on different time axes (TIME1 and TIME2):

 	NOAA/PMEL TMAP
 	FERRET v7.6 (optimized)
 	Linux 2.6.32-754.29.2.el6.x86_64 64-bit - 06/25/20
 	13-Nov-20 13:17     

yes? use uwnd.des; sho grid uwnd[d=1]
    GRID GQV1
 name       axis              # pts   start                end                 subset
 FNOCX81_81 LONGITUDE           1mr   140W                 140W                full
 FNOCY37_37 LATITUDE            1 r   0                    0                   full
 normal    Z
 TIME1     TIME               132 r   16-JAN-1982 20:00    17-DEC-1992 03:30   full
yes? use vwnd.des; sho grid vwnd[d=2]
    GRID GMO1
 name       axis              # pts   start                end                 subset
 FNOCX81_81 LONGITUDE           1mr   140W                 140W                full
 FNOCY37_37 LATITUDE            1 r   0                    0                   full
 normal    Z
 TIME2     TIME               132 r   16-JAN-1982 20:00    17-DEC-1992 03:30   full

The previous version (Ferret v7.52, dated 12/03/2019) showed inconsistent behavior, depending on the order of commands:

 	NOAA/PMEL TMAP
 	FERRET v7.52 (optimized)
 	Linux 2.6.32-754.23.1.el6.x86_64 64-bit - 12/03/19
 	13-Nov-20 13:22     

yes? use uwnd.des; sho grid uwnd[d=1]
    GRID GQV1
 name       axis              # pts   start                end                 subset
 FNOCX81_81 LONGITUDE           1mr   140W                 140W                full
 FNOCY37_37 LATITUDE            1 r   0                    0                   full
 normal    Z
 TIME1     TIME               132 r   16-JAN-1982 20:00    17-DEC-1992 03:30   full
yes? use vwnd.des; sho grid vwnd[d=2]
    GRID GMO1
 name       axis              # pts   start                end                 subset
 FNOCX81_81 LONGITUDE           1mr   140W                 140W                full
 FNOCY37_37 LATITUDE            1 r   0                    0                   full
 normal    Z
 TIME2     TIME               132 r   16-JAN-1982 20:00    17-DEC-1992 03:30   full

That fails (giving TIME1 & TIME2), but this works (both grids on TIME2):

 	NOAA/PMEL TMAP
 	FERRET v7.52 (optimized)
 	Linux 2.6.32-754.23.1.el6.x86_64 64-bit - 12/03/19
 	13-Nov-20 13:23     

yes? use uwnd.des; use vwnd.des
yes? sho grid uwnd[d=1]; sho grid vwnd[d=2]
    GRID GMO1
 name       axis              # pts   start                end                 subset
 FNOCX81_81 LONGITUDE           1mr   140W                 140W                full
 FNOCY37_37 LATITUDE            1 r   0                    0                   full
 normal    Z
 TIME2     TIME               132 r   16-JAN-1982 20:00    17-DEC-1992 03:30   full
    GRID GMO1
 name       axis              # pts   start                end                 subset
 FNOCX81_81 LONGITUDE           1mr   140W                 140W                full
 FNOCY37_37 LATITUDE            1 r   0                    0                   full
 normal    Z
 TIME2     TIME               132 r   16-JAN-1982 20:00    17-DEC-1992 03:30   full

For both command orderings to produce identical grids (both on TIME1), we have to go all the way back to Ferret v7.3 (dated 12/04/2017). What's going on?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions