Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
Grid ADASMELIAE
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VIPS
Models
GRID
Grid ADASMELIAE
Commits
4e6b2f44
Commit
4e6b2f44
authored
1 year ago
by
Lene Wasskog
Browse files
Options
Downloads
Patches
Plain Diff
fix: Change name of tmp file to ensure it is later removed
parent
f619f45b
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#4024
passed
1 year ago
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ADASMELIAE.py
+1
-1
1 addition, 1 deletion
ADASMELIAE.py
with
1 addition
and
1 deletion
ADASMELIAE.py
+
1
−
1
View file @
4e6b2f44
...
...
@@ -247,7 +247,7 @@ if __name__ == "__main__":
# Ensure warning status 0 for all points on first day after model end date, mask if mask file is given
if
current_file_date
>
model_end_date
:
tmp_file
=
file
+
"
tmp
"
tmp_file
=
"
tmp
"
+
file
os
.
rename
(
file
,
tmp_file
)
run_command
(
command
=
f
'
cdo -s -aexpr,
"
WARNING_STATUS = 0
"
{
tmp_file
}
{
file
}
'
,
...
...
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