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.
Fcheck_script.sh in branches/UKMO/dev_r5785_SSS_obsoper/NEMOGCM/TOOLS/COMPILE – NEMO

source: branches/UKMO/dev_r5785_SSS_obsoper/NEMOGCM/TOOLS/COMPILE/Fcheck_script.sh @ 7773

Last change on this file since 7773 was 7773, checked in by mattmartin, 7 years ago

Committing updates after doing the following:

  • merging the branch dev_r4650_general_vert_coord_obsoper@7763 into this branch
  • updating it so that the following OBS changes were implemented correctly on top of the simplification changes:
    • generalised vertical coordinate for profile obs. This was done so that is now the default option.
    • sst bias correction implemented with the new simplified obs code.
    • included the biogeochemical obs types int he new simplified obs code.
    • included the changes to exclude obs in the boundary for limited area models
    • included other changes for the efficiency of the obs operator to remove global arrays.
  • Property svn:executable set to *
File size: 709 bytes
Line 
1#!/bin/bash
2#set -x
3set -o posix
4#set -u
5#set -e
6#+
7#
8# ================
9# Fcheck_script.sh
10# ================
11#
12# --------------------------
13# Check
14# --------------------------
15#
16# SYNOPSIS
17# ========
18#
19# ::
20#
21#  $ Fcheck_script.sh
22#
23#
24# DESCRIPTION
25# ===========
26#
27#
28# Check if utilities are in the path, typically fcm.
29#
30# EXAMPLES
31# ========
32#
33# ::
34#
35#  $ ./Fcheck_script.sh fcm
36#
37#
38# TODO
39# ====
40#
41# option debug
42#
43#
44# EVOLUTIONS
45# ==========
46#
47# $Id: Fcheck_script.sh 3294 2012-01-28 16:44:18Z rblod $
48#
49#
50#
51#   * creation
52#
53#-
54
55myscript=`which $1`
56if [ ${#myscript} -eq 0 ]; then
57echo "WARNING !!!"
58echo "$1 has to be installed first"
59echo "Exiting......................"
60exit 1
61fi
62
63unset -v myscript
Note: See TracBrowser for help on using the repository browser.