Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
E
ERA5-ABL
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Guillaume Samson
ERA5-ABL
Commits
2504ef12
Commit
2504ef12
authored
1 year ago
by
Guillaume S
Browse files
Options
Downloads
Patches
Plain Diff
further improvements
parent
59e7acde
Branches
branch_4.2
Branches containing commit
No related tags found
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
do_by_day.sh
+2
-2
2 additions, 2 deletions
do_by_day.sh
subjob_ablhpg.sh
+1
-1
1 addition, 1 deletion
subjob_ablhpg.sh
subjob_ablvint.sh
+1
-1
1 addition, 1 deletion
subjob_ablvint.sh
subjob_cdomiss.sh
+2
-2
2 additions, 2 deletions
subjob_cdomiss.sh
subjob_cdosplit.sh
+1
-1
1 addition, 1 deletion
subjob_cdosplit.sh
with
7 additions
and
7 deletions
do_by_day.sh
+
2
−
2
View file @
2504ef12
...
...
@@ -33,8 +33,8 @@ echo $date_beg $date_end $nb_day
for
((
d
=
0
;
d<
$nb_day
;
d++
))
;
do
date_day
=
$(
date
-d
"
$date_beg
+
$d
days"
+%Y%m%d
)
echo
$script
$date_day
${
script
}
${
date_day
}
echo
$script
$date_day
$script_arg
${
script
}
${
date_day
}
${
script_arg
}
done
...
...
This diff is collapsed.
Click to expand it.
subjob_ablhpg.sh
+
1
−
1
View file @
2504ef12
...
...
@@ -6,7 +6,7 @@ date=$1
day_end
=
$(
date
-d
"
${
date
:4:2
}
/1 + 1 month - 1 day"
+
"%d"
)
date_end
=
${
date
:0:6
}${
day_end
}
ym
=
${
date
:0:6
}
day_nb
=
$((
(
$(
date
-d
"
${
date_end
}
"
+%s
)
-
$(
date
-d
"
${
ym
}
01"
+
"%s"
)
)/(
60
*
60
*
24
)
+
1
))
day_nb
=
$((
(
$(
date
-d
"
${
date_end
}
H00 + 1 day
"
+%s
)
-
$(
date
-d
"
${
ym
}
01
H00
"
+
"%s"
)
)/(
60
*
60
*
24
)
))
p2D
=
"/ec/res4/scratch/ar0s/ERA5/NC_F320/
${
ym
}
/surf2D_ERA5_L1_GLO_TLAUTO_IGNONE_GF320reg_ana01h_
${
date
}
.nc"
p3D
=
"/ec/res4/scratch/ar0s/ERA5/NC_F320/
${
ym
}
/inst3D_ERA5_L107-137_GLO_TLAUTO_IGNONE_GF320reg_ana01h_
${
date
}
.nc"
...
...
This diff is collapsed.
Click to expand it.
subjob_ablvint.sh
+
1
−
1
View file @
2504ef12
...
...
@@ -6,7 +6,7 @@ date=$1
day_end
=
$(
date
-d
"
${
date
:4:2
}
/1 + 1 month - 1 day"
+
"%d"
)
date_end
=
${
date
:0:6
}${
day_end
}
ym
=
${
date
:0:6
}
day_nb
=
$((
(
$(
date
-d
"
${
date_end
}
"
+%s
)
-
$(
date
-d
"
${
ym
}
01"
+
"%s"
)
)/(
60
*
60
*
24
)
+
1
))
day_nb
=
$((
(
$(
date
-d
"
${
date_end
}
H00 + 1 day
"
+%s
)
-
$(
date
-d
"
${
ym
}
01
H00
"
+
"%s"
)
)/(
60
*
60
*
24
)
))
p2D
=
"/ec/res4/scratch/ar0s/ERA5/NC_F320/
${
ym
}
/surf2D_ERA5_L1_GLO_TLAUTO_IGNONE_GF320reg_ana01h_
${
date
}
.nc"
p3D
=
"/ec/res4/scratch/ar0s/ERA5/NC_F320/
${
ym
}
/inst3D_ERA5_L107-137_GLO_TLAUTO_IGNONE_GF320reg_ana01h_
${
date
}
.nc"
...
...
This diff is collapsed.
Click to expand it.
subjob_cdomiss.sh
+
2
−
2
View file @
2504ef12
#!/bin/bash
set
+
xv
set
-
xv
date
=
$1
day_end
=
$(
date
-d
"
${
date
:4:2
}
/1 + 1 month - 1 day"
+
"%d"
)
date_end
=
${
date
:0:6
}${
day_end
}
ym
=
${
date
:0:6
}
day_nb
=
$((
(
$(
date
-d
"
${
date_end
}
"
+%s
)
-
$(
date
-d
"
${
ym
}
01"
+
"%s"
)
)/(
60
*
60
*
24
)
+
1
))
day_nb
=
$((
(
$(
date
-d
"
${
date_end
}
H00 + 1 day
"
+%s
)
-
$(
date
-d
"
${
ym
}
01
H00
"
+
"%s"
)
)/(
60
*
60
*
24
)
))
var_list
=(
uwnd vwnd uhpg vhpg tpot humi
)
d
=
"/ec/res4/scratch/ar0s/ERA5/NC_F320/
${
ym
}
"
...
...
This diff is collapsed.
Click to expand it.
subjob_cdosplit.sh
+
1
−
1
View file @
2504ef12
...
...
@@ -10,7 +10,7 @@ date=$1
day_end
=
$(
date
-d
"
${
date
:4:2
}
/1 + 1 month - 1 day"
+
"%d"
)
date_end
=
${
date
:0:6
}${
day_end
}
ym
=
${
date
:0:6
}
day_nb
=
$((
(
$(
date
-d
"
${
date_end
}
"
+%s
)
-
$(
date
-d
"
${
ym
}
01"
+
"%s"
)
)/(
60
*
60
*
24
)
+
1
))
day_nb
=
$((
(
$(
date
-d
"
${
date_end
}
H00 + 1 day
"
+%s
)
-
$(
date
-d
"
${
ym
}
01
H00
"
+
"%s"
)
)/(
60
*
60
*
24
)
))
pabl
=
"/ec/res4/scratch/ar0s/ERA5/NC_F320/
${
ym
}
/abl_ERA5_L50Z10_GLO_TLAUTO_IGNONE_GF320reg_ana01h_
${
date
}
.nc"
fabl
=
$(
basename
$pabl
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment