Git Product home page Git Product logo

Comments (3)

czender avatar czender commented on June 5, 2024 1

Thanks for reporting this. I can reproduce the issue. It only occurs, to my knowledge, when interpolating from pressure to pressure grids, which apparently I have never tried with multi-timestep input. It looks like handling time-varying input was not implemented. Now it's on my list. Will post again when I have an update.

from nco.

czender avatar czender commented on June 5, 2024

The latest development snapshot, NCO 5.1.6-alpha02, fixes this issue for me. Please test it if you can and provide feedback. Otherwise, these changes will be in NCO 5.1.6-final in a few weeks. This shows the first two timesteps of the output of your test case:

zender@spectral:~/Downloads$ ncks --version
NCO netCDF Operators version 5.1.6-alpha02 "Indictment Excitement" built by zender on spectral at Apr  5 2023 13:54:19
ncks version 5.1.6-alpha02
zender@spectral:~/Downloads$ ncremap --vrt_out=${DATA}/grids/vrt_prs_ncep_L17.nc in_data.nc out.nc
Input #00: /Users/zender/Downloads/in_data.nc
Vertical : /Users/zender/data/grids/vrt_prs_ncep_L17.nc
zender@spectral:~/Downloads$ ncks -C -v var130 -d time,0,1 -d lat,0 -d lon,0 out.nc
netcdf out {
  dimensions:
    lat = 1 ;
    lon = 1 ;
    plev = 17 ;
    time = UNLIMITED ; // (2 currently)

  variables:
    float var130(time,plev,lat,lon) ;
      var130:code = 130 ;
      var130:table = 128 ;
      var130:CDI_grid_type = "gaussian" ;
      var130:CDI_grid_num_LPE = 96 ;

  data:
    var130 = 
    269.0848, 
    264.1151, 
    259.9385, 
    254.1309, 
    248.1047, 
    239.911, 
    229.4799, 
    221.6631, 
    223.5385, 
    225.9229, 
    225.8931, 
    225.3141, 
    225, 
    224.9623, 
    225.4269, 
    226.6538, 
    230.6947, 
    269.1624, 
    264.223, 
    260.0998, 
    254.2092, 
    248.2053, 
    239.7696, 
    229.239, 
    221.7161, 
    223.7113, 
    225.8742, 
    225.8563, 
    225.1939, 
    225.0779, 
    224.8645, 
    225.2074, 
    226.8029, 
    230.4969 ;

} // group /

from nco.

prajeeshag avatar prajeeshag commented on June 5, 2024

Yes, it is working with 5.1.6-alpha02. Thanks.

from nco.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.