Commit c3dc0486 authored by Christoph Heim's avatar Christoph Heim
Browse files

Had to get something from MPAS

parent a471b0ed
......@@ -17,7 +17,7 @@ from datetime import datetime, timedelta
from multiprocessing import Pool
from pathlib import Path
from cdo import Cdo
from package.utilities import Timer, write_grid_file#, cdo_mergetime
from package.utilities import Timer, write_grid_des_file#, cdo_mergetime
from namelist import domain, padding
from functions import paste_dir_names
###############################################################################
......@@ -142,7 +142,7 @@ if __name__ == '__main__':
'2D':['TQV'],
'3D':['U', 'P', 'V'],
'3D':['T'],
'3D':['W'],
#'3D':['U'],
#'3D':['V'],
#'3D':['U', 'V'],
......@@ -165,8 +165,8 @@ if __name__ == '__main__':
var_names = var_namess[run_var_type]
#ress = [7.5, 3.75]
#ress = [7.5]
ress = [3.75]
ress = [7.5]
#ress = [3.75]
i_bash_output = 1
......@@ -177,8 +177,8 @@ if __name__ == '__main__':
######################
## done U, V, P
first_date = datetime(2016,9,4)
last_date = datetime(2016,9,5)
first_date = datetime(2016,8,1)
last_date = datetime(2016,8,9)
## done U, V, P
#first_date = datetime(2016,8,11)
......@@ -287,7 +287,7 @@ if __name__ == '__main__':
# target grid on which to interpolate the model output
target_grid = os.path.join('grids','latlon_{}km_dom_{}'.format(
res, domain['code']))
write_grid_file(box, target_grid, res)
write_grid_des_file(box, target_grid, res)
# find times and files that should be extracted
# and prepare arguments for function
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment