Opened 6 years ago

Closed 6 years ago

Last modified 3 years ago

#1364 closed Bug (fixed)

XIOS online weighted average not working properly

Reported by: joakim Owned by: nemo
Priority: low Milestone:
Component: OCE Version: release-3.6
Severity: Keywords: NetCDF* VVL XIOS
Cc:

Description

Hi

I'm running NEMO3.6 (rev 4672) and have XIOS rev 484, both compiled using ifort 14.0.1, netcdf 4.3.0 and hdf5 1.8.11.
I'm using non linear free surface so temperature and salinity are in fact multiplied by cell thickness in output.

I've therefore put
<field field_ref="toce" name="potemp" long_name="sea_water_potential_temperature" operation="instant" freq_op="1m"> @toce / @cellthc </field>
<field field_ref="soce" name="salin" long_name="sea_water_salinity" operation="instant" freq_op="1m"> @soce / @cellthc </field>
in my iodef.xml. I want XIOS to divide temperature by cell thickness every time step and then write the monthly mean.

This works fine except the first month. The file can’t be opened with ncview, but looks fine with ncdump.
I think it’s because XIOS changes the time variable from “time_centered” to “time_instant” and the variable "time_instant" is empty in the first file.
I’m guessing this is a bug in XIOS.
Does anyone know of any way to get around this issue?

Regards
Joakim

Commit History (0)

(No commits)

Change History (9)

comment:1 Changed 6 years ago by acc

  • Resolution set to fixed
  • Status changed from new to closed

Fixed by XIOS developments and trunk changes at rev 5127

comment:2 Changed 4 years ago by nicolasmartin

  • Keywords XIOS added; xios removed

comment:3 Changed 4 years ago by nicolasmartin

  • Keywords VVL added; vvl removed

comment:4 Changed 4 years ago by nicolasmartin

  • Keywords nemo_v3_6* added

comment:5 Changed 4 years ago by nicolasmartin

  • Keywords netCDF added; netcdf removed

comment:6 Changed 4 years ago by nicolasmartin

  • Keywords NetCDF added; netCDF removed

comment:7 Changed 4 years ago by nicolasmartin

  • Keywords NetCDF* added; NetCDF removed

comment:8 Changed 3 years ago by nemo

  • Keywords release-3.6* added; nemo_v3_6* removed

comment:9 Changed 3 years ago by nemo

  • Keywords release-3.6* removed
Note: See TracTickets for help on using tickets.