-
Notifications
You must be signed in to change notification settings - Fork 0
73 water vapor notebook #74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 34 commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
67a043a
rename daily notebooks
rogerkuou 5b3d0df
add draft example notebook for watervapor
rogerkuou 5545f1f
check empty dataset in prediction
rogerkuou 0deab33
update hourly watervapor notebook
rogerkuou 1dea21d
initiate loss as zero tensor
rogerkuou 3ac2df4
update notebook
rogerkuou 3e55c64
changed loss to float
rogerkuou c5a9337
Merge branch 'main' into 73_water_vapor_notebook
rogerkuou 9e289e3
rename patch with crop in dataset and predict module
SarahAlidoost 9c523e5
fix geo_embeding in the model
SarahAlidoost 83a0a20
remove spatial transfomer from the model
SarahAlidoost 63ba353
add some model improvemnets
SarahAlidoost 222f2e5
uncomment groupnorm in decoder
SarahAlidoost 0ff075f
improve docstring
SarahAlidoost 1fb8ba0
remove patch from dataset, adjust api in source modules
SarahAlidoost 09c55db
fix linters
SarahAlidoost 814f151
fix tests
SarahAlidoost 76842bd
fix docstring and comments
SarahAlidoost e9cdd56
fix nbs
SarahAlidoost 628507b
add model.train in train loop (a bug)
SarahAlidoost 88382ce
Merge branch 'main' into fix_geo_embeding
SarahAlidoost 078121f
update scripts
SarahAlidoost b59ad45
fix run_best_tuned_model script
SarahAlidoost eb53bef
rerun example_tuning nb
SarahAlidoost d5000e9
Merge branch 'main' into 73_water_vapor_notebook
rogerkuou 6e3a31d
Merge branch 'fix_geo_embeding' into 73_water_vapor_notebook
rogerkuou 45ccda3
re-structure training
rogerkuou 6ffc51f
rename_notebook
rogerkuou 689c94b
add example notebook for daily watervapor data
rogerkuou 0b28ed6
update unit name
rogerkuou e04c2f4
init hourly watervapo notebook
rogerkuou 6444772
initial water vapor hourly training
rogerkuou f0409a7
add commented out code section for generating 0.5 deg lsm
rogerkuou 33795d1
solve confilcts
rogerkuou 54e17d6
95 watervapor lsm util func (#96)
rogerkuou e0eefad
Apply suggestion from @SarahAlidoost
rogerkuou 8018eff
solve conficts
rogerkuou 6b7dda2
change spatial_patch_size to spatial_crop_size
rogerkuou 1150732
remove duplicated cell
rogerkuou 5963654
remove unuser import
rogerkuou a06120b
use jan for hourly notebook
rogerkuou 34dc161
update parameters in hourly notebook
rogerkuou 9feec31
rerun hourly notenook
rogerkuou File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -50,7 +50,11 @@ | |
| "\n", | ||
| "monthly_data = xr.open_mfdataset(data_folder / f\"202001_mon_ERA5dc_full_{var_name}.nc\")\n", | ||
| "monthly_data_validation = xr.open_mfdataset(data_folder / f\"202101_mon_ERA5dc_full_{var_name}.nc\")\n", | ||
| <<<<<<< HEAD:notebooks/sst/training_hourly_sst.ipynb | ||
| "monthly_data_test = xr.open_mfdataset(data_folder / f\"202001_mon_ERA5dc_full_{var_name}.nc\")\n", | ||
| ======= | ||
| "monthly_data_test = xr.open_mfdataset(data_folder / f\"202201_mon_ERA5dc_full_{var_name}.nc\")\n", | ||
| >>>>>>> main:notebooks/example_hourly.ipynb | ||
| "\n", | ||
| "file_name = data_folder / \"era5_lsm_bool.nc\" # downloded from era5 and regridded using the function `regrid_to_boundary_centered_grid`\n", | ||
| "lsm_mask = xr.open_dataset(file_name)" | ||
|
|
@@ -476,7 +480,11 @@ | |
| } | ||
| ], | ||
| "source": [ | ||
| <<<<<<< HEAD:notebooks/sst/training_hourly_sst.ipynb | ||
| "spatial_patch_size = monthly_da.shape[1:] # the whole dataset \n", | ||
| ======= | ||
| "spatial_crop_size = monthly_da.shape[1:] # the whole dataset \n", | ||
| >>>>>>> main:notebooks/example_hourly.ipynb | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same here. |
||
| "\n", | ||
| "dataset_test = STDataset(\n", | ||
| " input_da=input_da,\n", | ||
|
|
@@ -670,9 +678,9 @@ | |
| ], | ||
| "metadata": { | ||
| "kernelspec": { | ||
| "display_name": "climanet", | ||
| "display_name": "Python 3 (ipykernel)", | ||
| "language": "python", | ||
| "name": "climanet" | ||
| "name": "python3" | ||
| }, | ||
| "language_info": { | ||
| "codemirror_mode": { | ||
|
|
@@ -684,7 +692,7 @@ | |
| "name": "python", | ||
| "nbconvert_exporter": "python", | ||
| "pygments_lexer": "ipython3", | ||
| "version": "3.14.6" | ||
| "version": "3.11.14" | ||
| } | ||
| }, | ||
| "nbformat": 4, | ||
|
|
||
File renamed without changes.
File renamed without changes.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these are leftover from merging. Could you fix them?