def do_file(month): src_filename = part_filename + month + '*.nc' lcopy = list(src_varname) dst_var = pyroms_toolbox.remapping_bound(lcopy, src_filename,\ wts_file,src_grd,dst_grd,rotate_uv=True,\ irange=irange,jrange=jrange, \ uvar='uice', vvar='vice') # uvar='uice_eastward', vvar='vice_northward', rotate_part=True) dst_var = pyroms_toolbox.remapping_bound_sig(src_sigma, src_filename,\ wts_file,src_grd,dst_grd,rotate_sig=True,\ irange=irange,jrange=jrange)
def do_file(month): src_filename = part_filename + month + '*.nc' lcopy = list(src_varname) print 'working on file '+src_filename # didn't work even with processes=1 # pdb.set_trace() dst_var = pyroms_toolbox.remapping_bound(lcopy, src_filename,\ wts_file,src_grd,dst_grd,rotate_uv=True,\ irange=irange,jrange=jrange, \ uvar='uice_eastward', vvar='vice_northward', rotate_part=True) # uvar='uice', vvar='vice') dst_var = pyroms_toolbox.remapping_bound_sig(src_sigma, src_filename,\ wts_file,src_grd,dst_grd,rotate_sig=True,\ irange=irange,jrange=jrange)
def do_file(month): src_filename = part_filename + month + '*.nc' lcopy = list(src_varname) print('working on file '+src_filename) # didn't work even with processes=1 # pdb.set_trace() dst_var = pyroms_toolbox.remapping_bound(lcopy, src_filename,\ wts_file,src_grd,dst_grd,rotate_uv=True,\ irange=irange,jrange=jrange, \ uvar='uice_eastward', vvar='vice_northward', rotate_part=True) # uvar='uice', vvar='vice') dst_var = pyroms_toolbox.remapping_bound_sig(src_sigma, src_filename,\ wts_file,src_grd,dst_grd,rotate_sig=True,\ irange=irange,jrange=jrange)