-
Notifications
You must be signed in to change notification settings - Fork 1
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
Conversation
Move scripts that use SMRF albedo into dedicated folder
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
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
… into smeshr/docs
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
remove filepath delimiter dependency
fix to ERROR 1: Writing through VRTSourcedRasterBand is not supported.
@jmichellehu - Should we try to merge this soon now that the baseline setup works across different people? |
Yeah, I think that's a good idea. I'll take a look today and ping you back.
…________________________________
From: Joachim Meyer ***@***.***>
Sent: Wednesday, October 16, 2024 8:43 AM
To: UofU-Cryosphere/isnoda ***@***.***>
Cc: Michelle Hu ***@***.***>; Mention ***@***.***>
Subject: Re: [UofU-Cryosphere/isnoda] SMESHR - Improve docs (PR #64)
@jmichellehu<https://github.com/jmichellehu> - Should we try to merge this soon now that the baseline setup works across different people?
Then have more PRs modifying/extending this?
—
Reply to this email directly, view it on GitHub<#64 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AKLYILP5L57L43OECES6QK3Z32CS7AVCNFSM6AAAAABLUOXDMSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJXGIYTQOJXGA>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
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
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.
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
Improve the documentation for using MODIS-STC with iSnobal