Skip to content

Commit

Permalink
Multiprocessing for ariaTSsetup
Browse files Browse the repository at this point in the history
  • Loading branch information
rzinke committed Oct 24, 2024
1 parent 7bb56dc commit 03aeb90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prep/ARIA_prep.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -342,9 +342,9 @@
" print('Preparing GUNWs for MintPY....')\n",
" if sitedata['sites'][site]['maskWater'] != 'False':\n",
" mask_file = '../mask/watermask.msk'\n",
" command = 'ariaTSsetup.py -f ' + product_glob + ' -b ' + sitedata['sites'][site]['analysis_region'] + ' --mask Download --croptounion --verbose' # slow\n",
" command = 'ariaTSsetup.py -f ' + product_glob + ' -b ' + sitedata['sites'][site]['analysis_region'] + ' --mask Download --croptounion --verbose -nt 16' # slow\n",
" else: # skip slow mask download when we don't need to mask water\n",
" command = 'ariaTSsetup.py -f ' + product_glob + ' -b ' + sitedata['sites'][site]['analysis_region'] + ' --croptounion --verbose'\n",
" command = 'ariaTSsetup.py -f ' + product_glob + ' -b ' + sitedata['sites'][site]['analysis_region'] + ' --croptounion --verbose -nt 16'\n",
"\n",
" # Crop and prepare stack\n",
" print(command)\n",
Expand Down

0 comments on commit 03aeb90

Please sign in to comment.