Menu

#449 Improve ncview compatibility by respecting dimvars

15 Package
open
2017-08-12
2017-08-12
No

From the ncview page:

Dimensional variables

A convention that ncview follows is that the values along a dimension are stored in variables of the exact same name as the dimension itself. I call these "dimensional variables", or "dimvars" for short. So, for example, imagine you have a dimension named "Time" that has a size of 3. If you want ncview to understand that the first time is 1995.0, the second is 1996.0, and the third is 1997.0, then you need to make a variable named "Time" that has exactly one dimension, the "Time" dimension, and has values (1995.0, 1996.0, 1997.0).

Discussion

  • Carsten Lemmen

    Carsten Lemmen - 2017-08-12

    Currently, the dimension is named somegrid_1 and the dimensional variable somegrid_X. We could change either the dimension or dthe variable name, what would make more sense?

    PS: the variable carries the attribute axis: X, so I would argue for the variable name also for the dimension

     
  • Carsten Lemmen

    Carsten Lemmen - 2017-08-12

    This could be easily implemented in mossco_netcdf.F90

     
  • Carsten Lemmen

    Carsten Lemmen - 2017-08-12
    • labels: ncview, dimvars, dimension, netcdf --> ncview, dimvars, dimension, netcdf, feature
    • summary: Improve ncview compatibility by respecting dimmers --> Improve ncview compatibility by respecting dimvars
     

Log in to post a comment.

MongoDB Logo MongoDB