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.
#987 (Unable to output mean and instantaneous fields concurrently) – NEMO

Opened 12 years ago

Closed 12 years ago

Last modified 2 years ago

#987 closed Defect (invalid)

Unable to output mean and instantaneous fields concurrently

Reported by: edblockley Owned by: nemo
Priority: low Milestone:
Component: OCE Version: v3.4
Severity: minor Keywords: IOM* OPA instantaneous outputs v3.4
Cc:

Description

Using the new iomput code it is not possible to output mean and instantaneous fields from the same run.
We require this functionality for our operational models and so, at present, are not able to use iomput.

Can this be changed to allow the simultaneous output of mean and instantaneous fields.

Commit History (0)

(No commits)

Change History (12)

comment:1 Changed 12 years ago by smasson

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

This can be done if you use iom_put but there is a small trick to make it work:
In addition to redefine operation to inst(X), you need yo redefine the attribute freq_op for the variable you want to output as instantaneous. In this specific case, freq_op must be equal to the output file frequency and no more to the model frequency. There is a small example for a 1d file with mean and instantaneous SST:

<file id="1d_grid_T" name="auto" description="ocean T grid variables" >
  <field ref="sst"   name="sst_mean"    />
  <field ref="sst"   name="sst_inst" freq_op="86400" operation="inst(X)"  />
</file>

Note: I don't know if this syntaxe will be keep in the new version of iom_put that will be incorporated in the next release (Jan 2013)...

comment:2 Changed 8 years ago by nicolasmartin

  • Keywords IOM added; iomput removed

comment:3 Changed 7 years ago by nemo

  • Keywords IOM* added; IOM removed

comment:4 Changed 7 years ago by nemo

  • Keywords Unable concurrently fields instantaneous mean outputs added

comment:5 Changed 7 years ago by nemo

  • Keywords mean removed

comment:6 Changed 7 years ago by nemo

  • Keywords fields removed

comment:7 Changed 7 years ago by nemo

  • Keywords concurrently removed

comment:8 Changed 7 years ago by nemo

  • Keywords Unable removed

comment:9 Changed 7 years ago by nemo

  • Keywords release-3.4* added

comment:10 Changed 7 years ago by nemo

  • Keywords release-3.4* removed

comment:11 Changed 6 years ago by j.abalichin

  • Severity set to minor

Dear all,
I tried out the suggested solution for the instantaneous and average output for our NEMO3.3 version.
This seems not to produce the expected averages over the selected time period, just a time average over the used timestep.
Does someone have a different solution/workaround to create such an output?
Many thanks in advance,
Janna

comment:12 Changed 2 years ago by nemo

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