[Thread Prev][Thread Next][Index]

[ferret_users] Changing the field of a NetCDF file to zero.



Hi,

I have a .nc file with emission data in a 4D array (x,y,h,t) and want to set all the emission field values to zero without changing the field name (as the model picks this up).

I can use the format:

 new_field_name = old_field_name - old_field_name

but this changes the emission field name. Is there a simpler way to do this than saving this "new_emission" output and then re-loading it to change the field name back to its"old_emission" name?

Thanks

Douglas


[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement