Skip to content

Commit

Permalink
Multiprocessing for ariaTSsetup (#67)
Browse files Browse the repository at this point in the history
Co-authored-by: rzinke <[email protected]>
  • Loading branch information
rzinke and rzinke authored Nov 12, 2024
1 parent 7bb56dc commit 6cbbe7c
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 6cbbe7c

Please sign in to comment.