Closed duetschm closed 1 month ago
We changed 3 more things:
srcs_flexpart_univie = (ds_flexpart_univie["moisture_uptakes_bl"]+ds_flexpart_univie["moisture_uptakes_ft"]).sum('time')
taking the sum over timeds_flexpart_xu = xr.open_dataset(basedir+"results Ru_Xu_FLEXPART/e_daily.nc").rename(longitude='lon', latitude='lat')
renamed the coordinates temp = xr.open_dataset(basedir+"results UGhent HAMSTER/Pakistan simulations/bias_corrected/ens1_sod08/bias_corrected_20220810120000_sod08.nc")
changed the path of UGhent simulations We had to make some more changes still:
.rename(latitude='lat', longitude='lon')
.squeeze().rename(dimy_N='lat', dimx_N='lon')
srcs_lagranto_CHc = srcs_lagranto_CHc.assign_coords(lat=srcs_TRACMASS.lat, lon=srcs_TRACMASS.lon)
Lagranto and TRACMASS latitudes go in opposite directions --> invert TRACMASS latitudes when assigning them to Lagranto:
srcs_lagranto_CHc = srcs_lagranto_CHc.assign_coords(lat=srcs_TRACMASS.lat[::-1], lon=srcs_TRACMASS.lon)
Lagranto and TRACMASS latitudes go in opposite directions --> invert TRACMASS latitudes when assigning them to Lagranto:
srcs_lagranto_CHc = srcs_lagranto_CHc.assign_coords(lat=srcs_TRACMASS.lat[::-1], lon=srcs_TRACMASS.lon)
Does that need to be changed in #40 as well?
Yes I think so
I included it as suggestion in the code of #40, I think I can include it once the pull request is reviewed? Not sure though...
I don't see the suggestion, maybe something went wrong?
I took a look and it says it's pending, and it says 'suggestions cannot be applied from pending reviews'
Ahh okay, I think you need to submit the review first then:
Adressed in #40
We managed to load all files with the following code: