-
Notifications
You must be signed in to change notification settings - Fork 108
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
Help with Regridding New Canopy Variables in sfc_climo to Regional C793 Grid #855
Comments
If I understand your question, you want to map your new data to the C793 grid using the existing 'grid' and 'oro' files in |
Hi @GeorgeGayno-NOAA Thanks for your reply. Yes, I have the new data and updated UFS_UTILS to be able to read it, and would like to map it to the C793 grid files already present. I thought I could use UFS_UTILS to do this, either using the driver scripts offline to pre-generate them (as in my directory above), or using UFS_UTILS in the workflow (i.e., RUN_TASK_MAKE_SFC_CLIMO) itself. I can run the driver scripts on the new data, but wondered how to set this specific AQM C793 domain desired. Any guidance is much appreciated. |
There is a utility to run just the You will need to edit this file for the location of your 'grid' and 'oro' files: Then, you would run it using the Hera driver script. Let me know if you can't get it working. Note, we just merged updates that corrected some problems in the VIIRS vegetation data (See #821). So, you may want to merge these changes to your branch to use the new data. As you probably know, permanent land ice points are determined by the vegetation type, and several surface fields are adjusted to be consistent with the properties of land ice. |
@GeorgeGayno-NOAA OK, thank you. I have just synced our fork's branch to merge in your upstream [develop] branch including your fixes on #843. It compiles successfully with my updated canopy variable additions. Thank you for your guidance of the sfc_climo_gen utility, as I was unaware. I will try that now. |
I think I got it to work OK, see my script: However, there are inconsistencies with the nx and ny for the number of halo set. For example, I set
While, these dimensions pertain to halo4, as in previous files I had, e.g.,:
The
But, these are also different than the "halo0" files I had previous, e.g.,:
Can you help me rectify the correct halo settings to match my previous example AQM_NA_13km files? Thanks again! |
I will take a look. |
@drnimbusrain I was able to get it to work. You have a different set of files than what the standard UFS_UTILS grid generation scripts would create. That makes me wonder if UFS_UTILS is producing extra files that are no longer used by the regional model. Anyway, to get it to work for your set of files, I updated
I placed of copy of that script here: |
Thank you @GeorgeGayno-NOAA, and sorry, as should have just commented out the HALO + 1. Closing the issue. |
@GeorgeGayno-NOAA Thank you again for your help with UFS_UTILS and getting my new canopy fix files on C793. /scratch2/NAGAPE/arl/Patrick.C.Campbell/UFS/DOMAIN_DATA/AQM_NA_13km/C793.canopy*_ If I may ask you another question/clarification on getting these new fields into the model (i.e., fv3atm and ccpp-physics). I have modified the relevant UFS-SRW-App (e.g., [fixed files mapping](noaa-oar-arl/ufs-srweather-app@af9973f and python namelist generation) and fv3atm code repositories (e.g., GFS typedefs and diagnostics and GFS meta) to get these fix file paths written to main input.nml and to identify the new canopy files in the GFS type defs and meta files. I mainly used the Thus, I have started to then modify the ccpp-physics code repositories for the routines and meta files where I would like to use these canopy sfc_climo files, but wondered if you could give me guidance on where these sfc_climo fix files (see Hera location above) are actually read in and populated into the ccpp-physics codes. Is the ccpp-physics/physics/sfcsub.F code the location that actually reads in the file and attributes to the correct model variable (e.g., maybe using slope_type or another current field as an analog)? I know I reopen this, but it is not necessarily UFS_UTILS related. So, if you could at least help point me to who I may better ask this question, I would also appreciate that! Thank you! |
Are these new fields static or will they get updated as the model runs? |
@GeorgeGayno-NOAA Great question! Some are static, and some vary monthly/daily: C793.canopy_forest_height.tile7.halo0.nc (static) |
Instead of going back and forth in this issue, it might be better if we have a quick telecon so I understand what you want to do. We could invite someone from the land team if needed. |
@GeorgeGayno-NOAA I definitely agree. Please feel free to email me or setup something on the calendar at Patrick.C.Campbell@noaa.gov Would sometime early next week, say Mon - Wed (Oct 9-11) work for you? I will be out for workshop/conference travel from Oct 12 - 20th, and my schedule will be much more limited. |
Dear @GeorgeGayno-NOAA
I am working on adding new sfc_climo files/variables for forest canopies to UFS_UTILS for a project we have in AQM and canopy impacts.
Following Mike Barlarge's advice, I have followed your recent work on adding soil_color datasets to the UFS_UTILS as an analog for adding my changes to our fork of UFS_UTILS.
The UFS_UTILS codes build and run OK with my changes, and I am using a local version of the four 1 km global, raw canopy files I am testing on Hera, found here: /scratch2/NAGAPE/arl/Patrick.C.Campbell/UFS/fix/sfc_climo/20221017/canopy*.nc_
I wondered if you could help point me in how to use my updated UFS_UTILS and the driver scripts to generate such regridded files on the FV3 files at a C793 resolution for the AQM application.
Example C793 files for AQM Tile 7 on Hera: /scratch2/NAGAPE/arl/Patrick.C.Campbell/UFS/DOMAIN_DATA/AQM_NA_13km/
I suppose I am not finding the correct grid definitions for my desired AQM C793 grid in the driver scripts, for example on Hera:
Driver script: /scratch2/NAGAPE/arl/Patrick.C.Campbell/UFS_UTILS/driver_scripts/driver_grid.hera.sh
Example Log file: /scratch2/NAGAPE/arl/Patrick.C.Campbell/UFS_UTILS/driver_scripts/log.fv3_grid_driver
Can you provide some guidance as to ways in bringing in the AQM C793 resolution as in my example files above so that UFS_UTILS could regrid our 1 km global canopy files in UFS?
Thank you!!
The text was updated successfully, but these errors were encountered: