User Activity

  • Posted a comment on discussion Help on NCO netCDF Operators

    I have a NetCDF file that uses -32767 as the _FillValue and missing_value for a variable. I have dropped these attributes and recreated them using ncatted: $ ncatted -O -a missing_value,varname,d,f," " in.nc $ ncatted -O -a missing_value,varname,a,f,NaN in.nc I'm pretty sure I've only just modified these attributes and I still need to change all values from -32767 to NaN. I have tried doing this using ncap2 but I have specified the NaN incorrectly, in that it looks like it thinks I am referencing...

  • Posted a comment on discussion Help on NCO netCDF Operators

    Thanks, Henry, I appreciate your help.

  • Posted a comment on discussion Help on NCO netCDF Operators

    Thanks, Henry. I really appreciate your help. The file is here: https://drive.google.com/file/d/1-2qntfjMSIihSGFaJS6l8uTh2bINVaxZ/view?usp=sharing

  • Posted a comment on discussion Help on NCO netCDF Operators

    I am trying to compress a NetCDF file using ncks, and getting the error NetCDF: Bad chunk sizes. For example: $ ncks -4 -L 6 -O in.nc out.nc nco_err_exit(): ERROR Short NCO-generated message (usually name of function that triggered error): nco_def_var_chunking() nco_err_exit(): ERROR Error code is -127. Translation into English with nc_strerror(-127) is "NetCDF: Bad chunk sizes." nco_err_exit(): ERROR NCO will now exit with system call exit(EXIT_FAILURE) I am running this on Ubuntu 18.04. NCO was...

  • Modified a comment on discussion Help on NCO netCDF Operators

    Ignore my comment below, I posted before refreshing the window and seeing your response. Thanks for the lickety-split help, Charlie.

  • Modified a comment on discussion Help on NCO netCDF Operators

    Maybe like this? ncks -A -v lat,lon file_with_good_latlon.nc file_to_replace_latlon.nc

  • Posted a comment on discussion Help on NCO netCDF Operators

    Thanks, please ignore my comment below, I posted before refreshing the window and seeing your response. Thanks for the lickety-split help, Charlie.

  • Posted a comment on discussion Help on NCO netCDF Operators

    Maybe like this? ncks -A -v lat,lon bad.nc good.nc

View All

Personal Data

Username:
monocongo
Joined:
2001-07-06 18:12:58

Projects

  • No projects to display.

Personal Tools