Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

Problem outputting daily ocean data

Hi All,
Im trying to output daily ocean velocity data. The model successfully produces daily output as defines in the pop2 namelist, but always crashes near the end of the integration. I have tried doing both branch and startup runs with the same result. I have also tried different output configurations using the pop2 namelist but to no avail.
Here's an example:
I create an extra output stream:
pop2.buildnml.csh:
&tavg_nml
n_tavg_streams = 4
ltavg_streams_index_present = .true.
tavg_freq_opt = 'nmonth' 'nday' 'once' 'nday'
tavg_freq = 1 1 1 1
tavg_file_freq_opt = 'nmonth' 'nmonth' 'once' 'nday'
tavg_file_freq = 1 1 1 1
tavg_stream_filestrings = 'nmonth1' 'nday1' 'once' 'nday2'
tavg_start_opt = 'nstep' 'nstep' 'nstep' 'nstep'
tavg_start = 0 0 0 0
tavg_fmt_in = 'nc' 'nc' 'nc' 'nc'
tavg_fmt_out = 'nc' 'nc' 'nc' 'nc'
tavg_contents ='$tavg_contents_filename'
ltavg_nino_diags_requested = .true.
tavg_infile ='${output_h}restart.end'
tavg_outfile ='$output_h'
ltavg_has_offset_date = .false. .false. .false. .false.
tavg_offset_years = 1 1 1 1
tavg_offset_months = 1 1 1 1
tavg_offset_days = 2 2 2 2
ltavg_one_time_header = .false. .false. .false. .false.

and in gx1v6_tavg_contents I set
4 UVEL
4 VVEL
4 WVEL

I run for a month and correctly get the daily output files:
CASE.pop.h.nday2.0001-01-02.nc to CASE.pop.h.nday2.0001-01-30.nc


The first error Im getting in the ccsm log is:
POP aborting...
(write_nstd_netcdf) Attempt to write undefined field in netCDF write

It looks like the problem occurs near the end of the integration when trying to write CASE.pop.h.0001-01.nc. While the file is created it has a time size of 0.

Any help would be much appreciated. Im happy with any output configuration as long as it produces daily UVEL, VVEL and WVEL
Many thanks
Alex
 
Top