Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • autosubmit autosubmit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 338
    • Issues 338
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 21
    • Merge requests 21
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Earth SciencesEarth Sciences
  • autosubmitautosubmit
  • Issues
  • #1066
Closed
Open
Issue created Jun 27, 2023 by dbeltran@dbeltranMaintainer

Extend AS tailer / header ( AS 4 )

This issue is to add the possibility of extending the AS_tailer and AS_header in Autosubmit,

The implementation should be something along the lines of:

Tailer:

Go to job/job_common.py

Find as_header/as_tailer functions,

Add a placeholder to the scripts.

###################
# Autosubmit tailer
###################
set -xuve
echo $(date +%s) >> ${job_name_ptrn}_STAT
touch ${job_name_ptrn}_COMPLETED
%EXTEND_TAILER% # <---
exit 0

Go to update_parameters functions in job.py

  • Add a new parameter to export to job_level:
job.extend_tailer = #get_from_config
job.extend_header = #get_from_config

### PARAMETERS are what is used to export variables
PARAMETERS["EXTEND_TAILER"] = open(job.extend_tailer).read()
PARAMETERS["EXTEND_HEADER"] = open(job.extend_header).read()
  • Add a new parameter to export to platform_level?

  • Add a new parameter to export to wrapper_level

Autosubmit 3:

Add get_extend_tailer and get_extend_header to the config methods,

Edited Jun 27, 2023 by dbeltran
Assignee
Assign to
Time tracking