Skip to content

Commit

Permalink
reorganized directory structure to prepare for testing with new calva…
Browse files Browse the repository at this point in the history
…l sites
  • Loading branch information
katia-tymofyeyeva committed Sep 9, 2024
1 parent 7351252 commit 1dffc33
Show file tree
Hide file tree
Showing 4 changed files with 124 additions and 2,180 deletions.
22 changes: 16 additions & 6 deletions methods/coseismic/Coseismic_Requirement_Validation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,19 @@
"outputs": [],
"source": [
"# Choose a site and track direction\n",
"site='MojaveD173' \n",
"site='test' \n",
"\n",
"# What dataset are you processing?\n",
"dataset = 'ARIA_S1' # For Sentinel-1 testing with aria-tools\n",
"\n",
"# Options: \n",
"#'ARIA_S1_new' (reorganized! for Sentinel-1 testing with aria-tools)\n",
"#'ARIA_S1' (for Sentinel-1 testing with aria-tools)\n",
"\n",
"dataset = 'ARIA_S1_new'\n",
"aria_gunw_version = '3_0_1'\n",
"\n",
"# The date and version of this Cal/Val run\n",
"today = '20240429'\n",
"today = '20240909'\n",
"version = '1'\n",
"\n",
"# Define your directory structure - you won't need to change this line\n",
Expand Down Expand Up @@ -173,10 +179,14 @@
"\n",
"################# Set Directories ##########################################\n",
"requirement='Coseismic'\n",
"work_dir = os.path.join(start_directory,dataset,requirement,site,you,today,'v'+version)\n",
"\n",
"# Site directory\n",
"site_dir = os.path.join(start_directory, dataset, site)\n",
"\n",
"work_dir = os.path.join(site_dir,requirement,you,today,'v'+version)\n",
"print(\"Work directory:\", work_dir)\n",
"\n",
"gunw_dir = os.path.join(work_dir,'products')\n",
"gunw_dir = os.path.join(site_dir,'products')\n",
"print(\" GUNW dir:\", gunw_dir) \n",
"\n",
"mintpy_dir = os.path.join(work_dir,'MintPy')\n",
Expand Down Expand Up @@ -2025,7 +2035,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.9"
"version": "3.12.5"
},
"toc-autonumbering": false,
"toc-showcode": false,
Expand Down
1,409 changes: 63 additions & 1,346 deletions methods/secular/Secular_Requirement_Validation.ipynb

Large diffs are not rendered by default.

23 changes: 17 additions & 6 deletions methods/transient/Transient_Requirement_Validation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,18 @@
"outputs": [],
"source": [
"# Choose a site and track direction\n",
"site='MojaveD173' \n",
"site='test' \n",
"\n",
"# Choose the requirement to validate\n",
"# Options: 'Secular' 'Coseismic' 'Transient'\n",
"requirement = 'Transient'\n",
"\n",
"# What dataset are you processing?\n",
"dataset = 'ARIA_S1' # For Sentinel-1 testing with aria-tools\n",
"# Options: \n",
"#'ARIA_S1_new' (***reorganized! for Sentinel-1 testing with aria-tools)\n",
"#'ARIA_S1' (for Sentinel-1 testing with aria-tools)\n",
"dataset = 'ARIA_S1_new'\n",
"aria_gunw_version = '3_0_1'\n",
"\n",
"# The date and version of this Cal/Val run\n",
"today = '20240429'\n",
Expand Down Expand Up @@ -171,11 +179,14 @@
"outputs": [],
"source": [
"################# Set Directories ##########################################\n",
"requirement = 'Transient'\n",
"work_dir = os.path.join(start_directory,dataset,requirement,site,you,today,'v'+version)\n",
"\n",
"# Site directory\n",
"site_dir = os.path.join(start_directory, dataset, site)\n",
"\n",
"work_dir = os.path.join(site_dir,requirement,you,today,'v'+version)\n",
"print(\"Work directory:\", work_dir)\n",
"\n",
"gunw_dir = os.path.join(work_dir,'products')\n",
"gunw_dir = os.path.join(site_dir,'products')\n",
"print(\" GUNW dir:\", gunw_dir) \n",
"\n",
"mintpy_dir = os.path.join(work_dir,'MintPy')\n",
Expand Down Expand Up @@ -1650,7 +1661,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.9"
"version": "3.12.5"
},
"toc-autonumbering": false,
"toc-showcode": false,
Expand Down
Loading

0 comments on commit 1dffc33

Please sign in to comment.