source: flexpart.git/create_tarball.sh @ a712161

10.4.1_peseiGFS_025bugfixes+enhancementsdevrelease-10release-10.4.1scaling-bug
Last change on this file since a712161 was 6616daf, checked in by Ignacio Pisso <ip@…>, 5 years ago

changes to README and create_tarball.sh

  • Property mode set to 100755
File size: 1.9 KB
Line 
1#!/bin/bash
2
3#define version number
4version=10.3beta
5
6# define tarball name
7tarball_tmp=flexpart_v$version 
8
9# clean old package
10rm -r $tarball_tmp
11
12# create basic dir structure
13mkdir $tarball_tmp
14mkdir $tarball_tmp/src
15
16# copy fortran source files
17cp src/*.f90 $tarball_tmp/src
18cp -r src/gributils $tarball_tmp/src
19
20# copy makefile
21cp src/makefile $tarball_tmp/src
22#cp src/makefile.gfs $tarball_tmp/src
23
24# copy default options (for the distribution they work with the defult flex_ecmwf test winds)
25# cp -r options $tarball_tmp
26cp -r options_flex_ecmwf_EA $tarball_tmp/options
27
28# copy default pathnames
29cp pathnames_distribution $tarball_tmp/pathnames
30
31
32# add ECMWF retrieve routines
33mkdir $tarball_tmp/preprocess
34#mkdir $tarball_tmp/preprocess/flex_ecmwf
35mkdir $tarball_tmp/preprocess/flex_extract
36#cp -r flex_ecmwf_src/* $tarball_tmp/preprocess/flex_ecmwf/
37cp -r flex_ecmwf_src/* $tarball_tmp/preprocess/flex_extract/
38
39# copy default AVAILABLE
40cp AVAILABLE_flex_ecmwf_EA $tarball_tmp/AVAILABLE
41
42
43# directory for reading routines
44mkdir $tarball_tmp/postprocess
45
46# add fortran reading routines
47mkdir $tarball_tmp/postprocess/flex_read_fortran
48cp postprocess/flex_read_fortran/*.f $tarball_tmp/postprocess/flex_read_fortran
49cp postprocess/flex_read_fortran/*.f90 $tarball_tmp/postprocess/flex_read_fortran
50cp postprocess/flex_read_fortran/makefile $tarball_tmp/postprocess/flex_read_fortran
51
52# add matlab reading routines
53mkdir $tarball_tmp/postprocess/flex_read_matlab
54cp postprocess/flex_read_matlab/*.m $tarball_tmp/postprocess/flex_read_matlab
55
56# examples
57cp -r examples $tarball_tmp/
58
59
60mkdir $tarball_tmp/tests
61
62cp -r tests/NILU/test_1 $tarball_tmp/tests/
63cp -r tests/flex_gen_cases $tarball_tmp/tests/
64
65
66#return
67
68#tar -cvf flexpart$version.tar $tarball_tmp/*
69echo now can run:  "tar -cvf $tarball_tmp.tar $tarball_tmp/*"
70echo preliminary: scp flexpart_v10.3beta.tar njord:public_html/FLEXPART
Note: See TracBrowser for help on using the repository browser.
hosted by ZAMG