Hi Todd, Not sure exatly what you want ? For now will assume you want an array of the number of uwnd obsrvations for each timestamp, totaled over lat/lon. nbr_good[time,lat,lon]=0; where(uwnd>=1) nbr_good=1; nbr_good_month=nbr_good.total($lat,$lon) ...Henry
A where should do the trick. given you have the times tstart and tend in your chosen units, you can do something like where( time < tstart || time > tend ) temperature = temperature._FillValue ...Henry
A where should do the trick. given you have the times t0 and t1 in your chosen units, you can do something like where( time < t0 || time > t1 ) temperature = temperature._FillValue ...Henry
Hi All, I suppose we could add our github repo nco/antlr2 as a git submodule . Then in the nco/CMakeLists.txt include it with add_subdirectory() ....Henry
Hi All, I suppose we could add our github repo nco/antlr2 as a git submodule . Then in the nco/CMakeLists.txt include it with th it with add_subdirectory() ....Henry
Either the dim ens_member is already defined as 0 (UNLIMITED) in the input file or your shell script is setting it to 0.
its a bit tricky because you are redefining the variable "pre" that is already in input. try something like. defdim("ens",40 ); pre_new[$time,$latitude,$longitude,$ens]=pre; ...Henry
I suggest you get the command working in a script first then once its working move it to the command line. eg test.nco defdim("ens",40 ); pre[$time,$latitude,$longitude,$ens]=pre; then run the above script with the command ncap2 -S test.nco in.nc out.nc ...Henry