diff --git a/methods/secular/Secular_Requirement_Validation.ipynb b/methods/secular/Secular_Requirement_Validation.ipynb index 24e059c..fb1cacf 100644 --- a/methods/secular/Secular_Requirement_Validation.ipynb +++ b/methods/secular/Secular_Requirement_Validation.ipynb @@ -266,10 +266,9 @@ }, "outputs": [], "source": [ - "config_file = os.path.join(mintpy_dir,site + '.cfg')\n", + "config_file = os.path.join(mintpy_dir, sitedata['sites'][site]['calval_location'] + '.cfg')\n", "command = 'smallbaselineApp.py ' + str(config_file) + ' --dostep modify_network'\n", "process = subprocess.run(command, shell=True)\n", - "\n", "plot_network.main(['inputs/ifgramStack.h5'])" ] }, diff --git a/prep/ARIA_prep.ipynb b/prep/ARIA_prep.ipynb index 8bf8ee1..cc90197 100644 --- a/prep/ARIA_prep.ipynb +++ b/prep/ARIA_prep.ipynb @@ -38,7 +38,6 @@ "- [1.2. Crop Interferograms](#prep_crop_ifg)\n", "- [1.3. Set Up MintPy Configuration file](#prep_setup_config)\n", "- [1.4. Load Data into MintPy](#prep_load_data)\n", - "- [1.5. Clean Up](#prep_clean_up)\n", "\n", "
" ] @@ -450,36 +449,6 @@ "print('Mintpy input files:')\n", "[x for x in os.listdir('inputs') if x.endswith('.h5')]" ] - }, - { - "cell_type": "markdown", - "id": "7401afd1-f04e-4c25-b1aa-e78ab871dd1f", - "metadata": {}, - "source": [ - "### 1.5. Clean up \n", - "\n", - "Remove downloaded files if desired" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "b5bb17d4-9f68-4721-b91d-36ef4fca2bda", - "metadata": { - "tags": [] - }, - "outputs": [], - "source": [ - "print('Now that you have successfully created the MintPy data cube, you may want to clean up the downloaded products')\n", - "cleanup = input('Please type \"Yes\" if you want to delete the files in the \"products\" directory:')\n", - "if cleanup == \"Yes\" or cleanup == \"YES\" or cleanup == \"yes\":\n", - " import shutil\n", - " shutil.rmtree(gunw_dir)\n", - "elif cleanup == \"No\" or cleanup == \"NO\" or cleanup == \"no\":\n", - " print('Keeping your downloaded files')\n", - "else: \n", - " print('ERROR: Please try again. Type \"Yes\" or \"No\"')" - ] } ], "metadata": {