-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update snow obs preprocessing job #2946
Changes from 12 commits
4098f10
8d1bc87
6ff65bc
2295cab
5074d11
f122edf
73b4ec0
086158d
2df23be
bb8775a
5ddf552
0bfbff7
3c08705
850f672
6f2fc66
30c19d4
08bb8d8
8a4a743
b12a375
679e57e
d97480a
ed78b8c
eac7e1f
96254c4
a00f9e8
20b3b9c
db3a912
2e319a7
3d8c9d3
7148c4e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -564,21 +564,22 @@ def aeroanlfinal(self): | |||||
|
||||||
return task | ||||||
|
||||||
def prepsnowobs(self): | ||||||
def prepsnowcover(self): | ||||||
|
||||||
deps = [] | ||||||
dep_dict = {'type': 'task', 'name': f'{self.run}prep'} | ||||||
deps.append(rocoto.add_dependency(dep_dict)) | ||||||
dependencies = rocoto.create_dependency(dep=deps) | ||||||
|
||||||
resources = self.get_resource('prepsnowobs') | ||||||
task_name = f'{self.run}prepsnowobs' | ||||||
cycledef = 'gdas_prep_snocvr' | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
resources = self.get_resource('prepsnowcover') | ||||||
task_name = f'{self.run}prepsnowcover' | ||||||
task_dict = {'task_name': task_name, | ||||||
'resources': resources, | ||||||
'dependency': dependencies, | ||||||
'envars': self.envars, | ||||||
'cycledef': self.run.replace('enkf', ''), | ||||||
'command': f'{self.HOMEgfs}/jobs/rocoto/prepsnowobs.sh', | ||||||
'cycledef': cycledef, | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Made changes as suggested. Thanks. |
||||||
'command': f'{self.HOMEgfs}/jobs/rocoto/prepsnowcover.sh', | ||||||
'job_name': f'{self.pslot}_{task_name}_@H', | ||||||
'log': f'{self.rotdir}/logs/@Y@m@d@H/{task_name}.log', | ||||||
'maxtries': '&MAXTRIES;' | ||||||
|
@@ -591,7 +592,10 @@ def prepsnowobs(self): | |||||
def snowanl(self): | ||||||
|
||||||
deps = [] | ||||||
dep_dict = {'type': 'task', 'name': f'{self.run}prepsnowobs'} | ||||||
if f'@H' == '00': | ||||||
WalterKolczynski-NOAA marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
dep_dict = {'type': 'task', 'name': f'{self.run}prepsnowcover'} | ||||||
else: | ||||||
dep_dict = {'type': 'task', 'name': f'{self.run}prep'} | ||||||
deps.append(rocoto.add_dependency(dep_dict)) | ||||||
dependencies = rocoto.create_dependency(dep=deps) | ||||||
|
||||||
|
@@ -614,7 +618,7 @@ def snowanl(self): | |||||
def esnowrecen(self): | ||||||
|
||||||
deps = [] | ||||||
dep_dict = {'type': 'task', 'name': f'{self.run.replace("enkf","")}prepsnowobs'} | ||||||
dep_dict = {'type': 'task', 'name': f'{self.run.replace("enkf","")}prepsnowcover'} | ||||||
KateFriedman-NOAA marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
deps.append(rocoto.add_dependency(dep_dict)) | ||||||
dep_dict = {'type': 'task', 'name': f'{self.run.replace("enkf","")}snowanl'} | ||||||
deps.append(rocoto.add_dependency(dep_dict)) | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made changes. Thanks.