NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
From the NCO Users guide > Alternatively, one may use ncatted (see ncatted netCDF Attribute Editor) to > add a _FillValue attribute to all variables > > ncatted -O -a _FillValue,,o,f,1.0e36 inout.nc -Roy On Aug 12, 2011, at 11:01 AM, Lynnes, Christopher S. (GSFC-6102) wrote: > I have a netCDF file which is missing its _FillValue attributes. I know what > they are supposed to be, so is there a utility that will let me add them, or > do I need to write a piece of code to do it? Something like ncrename, but > where I can add attribute and value if not there? > -- > Dr. Christopher Lynnes NASA/GSFC, Code 610.2 phone: 301-614-5185 > > > _______________________________________________ > netcdfgroup mailing list > netcdfgroup@xxxxxxxxxxxxxxxx > For list information or to unsubscribe, visit: > http://www.unidata.ucar.edu/mailing_lists/ ********************** "The contents of this message do not reflect any position of the U.S. Government or NOAA." ********************** Roy Mendelssohn Supervisory Operations Research Analyst NOAA/NMFS Environmental Research Division Southwest Fisheries Science Center 1352 Lighthouse Avenue Pacific Grove, CA 93950-2097 e-mail: Roy.Mendelssohn@xxxxxxxx (Note new e-mail address) voice: (831)-648-9029 fax: (831)-648-8440 www: http://www.pfeg.noaa.gov/ "Old age and treachery will overcome youth and skill." "From those who have been given much, much will be expected" "the arc of the moral universe is long, but it bends toward justice" -MLK Jr.
netcdfgroup
archives: