New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
#1364 (XIOS online weighted average not working properly) – NEMO

Opened 10 years ago

Closed 9 years ago

Last modified 2 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: v3.6
Severity: Keywords: NetCDF* OPA VVL XIOS v3.6
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 (10)

comment:1 Changed 9 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 8 years ago by nicolasmartin

  • Keywords XIOS added; xios removed

comment:3 Changed 8 years ago by nicolasmartin

  • Keywords VVL added; vvl removed

comment:4 Changed 8 years ago by nicolasmartin

  • Keywords nemo_v3_6* added

comment:5 Changed 8 years ago by nicolasmartin

  • Keywords netCDF added; netcdf removed

comment:6 Changed 8 years ago by nicolasmartin

  • Keywords NetCDF added; netCDF removed

comment:7 Changed 8 years ago by nicolasmartin

  • Keywords NetCDF* added; NetCDF removed

comment:8 Changed 6 years ago by nemo

  • Keywords release-3.6* added; nemo_v3_6* removed

comment:9 Changed 6 years ago by nemo

  • Keywords release-3.6* removed

comment:10 Changed 2 years ago by nemo

  • Keywords OPA v3.6 added
Note: See TracTickets for help on using tickets.