Skip to content
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

SMESHR - Improve docs #64

Merged
merged 39 commits into from
Oct 23, 2024
Merged

SMESHR - Improve docs #64

merged 39 commits into from
Oct 23, 2024

Conversation

jomey
Copy link
Member

@jomey jomey commented Jul 29, 2024

Improve the documentation for using MODIS-STC with iSnobal

jomey and others added 8 commits July 29, 2024 13:35
The environment needs the cython package to successfully compile
`topocalc`. Also fix an incorrect markdown sytnax in the README
referencing this file
specify gdal versioning to avoid issues (e.g., missing libgdal-hdf5 and ligbdal-grib)
add netCDF4
add more verbose usage statements and fix typo
add echo statements for pattern troubleshooting
Pin version of numpy and python for topocalc.
The library has not been revisited to support numpy > 2 and python >
3.10
Wrap an optional step to extract abledo values from raw MODIS matlab
files in a function. This step is ideally performed once for the MODIS
period of record and the outputs re-used for any basin. Keeping the
logic to preseve how this script expects the MODIS inputs to be.
update for pre-extracted MODIS albedo geotiffs arranged by wy
extract extent, resolution, epsg designation and BASIN_DOMAIN variable
 as input to parallel call of modis_basin() for improved basin switching
jomey and others added 13 commits August 1, 2024 15:13
The `-mergetime` operator now requires to group files within `[]` when specifying multiple files to merge.

Error message:
```
Using two operators with variable input without using sub groups [] is not allowed
```
The initial development CDO version (2.05) and current (2.2) have settle differences when using the `mergetime` operator. Pinning the working solution with this to prevent future breakage.
actually fix parallel call and confirm within modis_basin().
un-reverse y coords in extent designation
This is needed to calculate shading through the `snobedo` package
 add catch for existing 24.nc files to reduce re-run time, tweak for little animas test basin
fix wildcard filematching of DSWRF_IN files and generalize basin varnames
and export BASIN_DOMAIN for parallel call
@jomey
Copy link
Member Author

jomey commented Oct 16, 2024

@jmichellehu - Should we try to merge this soon now that the baseline setup works across different people?
Then have more PRs modifying/extending this?

@jmichellehu
Copy link
Collaborator

jmichellehu commented Oct 16, 2024 via email

@jomey jomey marked this pull request as ready for review October 16, 2024 16:22
Change variable ERW_DAY_MST to DAY_MST
Add temporary usage guidance and catch to ensure isnoda env is active
Simplify global directory variables based off of BASIN_SMESHR_DIR.
Update output solar_albedo directory as contemporary of time decay directory.
Add TOPO filepaths for convenience.
Copy the generic albedo script as a basin-specific script stored within basin SMESHR dir.
Build in basin SMESHR dir creation. Enforce script runs from HRRR directory.
Also update run directories to end on 30 September
Segment out TCDC, DSWRF, MODIS albedo, and net solar calculations and scripts
Copy link
Collaborator

@jmichellehu jmichellehu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Heya @jomey the changes are looking good to me. The one remaining issue is about the README.md. Shall we merge, but tag for follow-up when scripts take their final form (i.e., direct people to using SMESHR preparation scripts to generate new net_solar and cloud_factor files)?

@jomey
Copy link
Member Author

jomey commented Oct 18, 2024

Heya @jomey the changes are looking good to me. The one remaining issue is about the README.md. Shall we merge, but tag for follow-up when scripts take their final form (i.e., direct people to using SMESHR preparation scripts to generate new net_solar and cloud_factor files)?

Sure, we can work on an updated README once the scripts have established. Ideally (and on the long haul) all this logic should get moved into SMRF

remove echos from HRRR_PATTERN matching and hrrr_param_for_topo commands
Segment net solar preparations from output linkages in case of pre-existing products.
Update SMESHR_DIR for group outputs.
Add verbosity for conditional flag status
@jomey jomey merged commit 0751c14 into master Oct 23, 2024
@jomey jomey deleted the smeshr/docs branch October 23, 2024 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants