Opened 11 years ago

Last modified 11 years ago

#162 closed defect

Problem in create_se.job — at Version 1

Reported by: lfairhead Owned by: somebody
Priority: minor Milestone: libIGCM_v2.2 metrics
Component: treatment Version:
Keywords: Cc:

Description (last modified by sdipsl)

In the case where the user wants to create yearly seasonal files (i.e.

SeasonalFrequency=1Y

It's a strange value. Making average with one value was not a predictable use case.
For example the average january over 1 year is the month itself.

Change History (1)

comment:1 in reply to: ↑ description Changed 11 years ago by sdipsl

  • Description modified (diff)
  • Milestone set to libIGCM_v2.1 consolidation
  • Priority changed from major to minor

Replying to lfairhead:

In the case where the user wants to create yearly seasonal files (i.e.

SeasonalFrequency=1Y

in config.card), create_se.job will only find one file to process (if using the pack environment), leading the array liste_file_se_tmp to only have one element. The command used to find the UNLIMITED variable in the files to be processed will then crash, crashing the job as it references the second (non existent) element of the array

var_unlim=$(ncdump -h ${liste_file_se_tmp[1]}|grep UNLIMITED|awk '{print $1}')
Note: See TracTickets for help on using tickets.