Opened 22 months ago

Last modified 5 months ago

#2140 new Feature request

DMP_TOOL modification

Reported by: jenniewaters Owned by: jenniewaters
Priority: low Milestone: Unscheduled
Component: tools Version:
Severity: minor Keywords:
Cc: Review:
MP ready?:
Progress:

Description

Context

The current DMP_TOOL for calculating the restoration coefficients for use with the tra_dmp module in NEMO calculates the distance to coast (using the surface only) for every vertical level. Subsequently the tool is very inefficient for large model domains.

Proposal

  • Include functionality to allow the distance to coast to be read in rather than calculated
  • Only perform the distance to coast calculation once.

Commit History (1)

ChangesetAuthorTimeChangeLog
10778jenniewaters2019-03-20T15:35:07+01:00

#2140 Small bug fix to get code to compile.

Attachments (3)

namelist_025 (1.6 KB) - added by jenniewaters 17 months ago.
namelist_025_readdistcoast (1.6 KB) - added by jenniewaters 17 months ago.
resto_plots.png (384.7 KB) - added by jenniewaters 17 months ago.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 22 months ago by jenniewaters

Last edited 17 months ago by jenniewaters (previous) (diff)

comment:2 Changed 17 months ago by jenniewaters

In 10778:

#2140 Small bug fix to get code to compile.

comment:3 in reply to: ↑ description Changed 17 months ago by jenniewaters

  • Version release-3.6 deleted

Replying to jenniewaters:

Context

The current DMP_TOOL for calculating the restoration coefficients for use with the tra_dmp module in NEMO calculates the distance to coast (using the surface only) for every vertical level. Subsequently the tool is very inefficient for large model domains.

Proposal

  • Include functionality to allow the distance to coast to be read in rather than calculated
  • Only perform the distance to coast calculation once.


Future developments

Get the DMP_TOOL to calculate the distance to coast correctly for each vertical level. This could be achieved by reading in the land mask for the current vertical level in cofdis in coast_dist.F90.

Changed 17 months ago by jenniewaters

comment:4 Changed 17 months ago by jenniewaters

I ran both the trunk@5518 and my version of the DMP_TOOLS with namelist_025 (attached to the ticket). The resulting resto.nc files are identical, but the trunk version took 2hours 45 minutes to run, while the new version took less the 3 minutes.

Changed 17 months ago by jenniewaters

comment:5 Changed 17 months ago by jenniewaters

The namelist_025_readdistcoast is used to generate the new resto.nc file used in the PS43 testing. The file differs slightly from the versions produced using namelist_025 as the distance to coast is depth dependent. It took less than 30 seconds to produce this file.
resto_plots.png shows the level 53 resto field generated using namelist_025_readdistcoast (right plot) and the level 53 difference between resto fields generated using namelist_025_readdistcoast and namelist_025. The only differences are around sea mounts, islands and coastlines, as we would expect.

Last edited 17 months ago by jenniewaters (previous) (diff)

Changed 17 months ago by jenniewaters

comment:6 Changed 5 months ago by clevy

  • Type changed from Enhancement to Feature request
Note: See TracTickets for help on using tickets.