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

Utility to generate weights for interpolation. #673

Closed
aerorahul opened this issue Jul 21, 2022 · 11 comments · Fixed by #677
Closed

Utility to generate weights for interpolation. #673

aerorahul opened this issue Jul 21, 2022 · 11 comments · Fixed by #677
Assignees
Labels
enhancement New feature or request

Comments

@aerorahul
Copy link
Contributor

aerorahul commented Jul 21, 2022

The global-workflow houses a utility weight_gen. Its description is contained in this README.

This utility is not used in the workflow and does not belong in the workflow.

This issue is opened to document migrating the utility from global-workflow to ufs-utils. The developers can assist in creating appropriate tests.

Tagging @yangfanglin @GeorgeGayno-NOAA for next steps.

@GeorgeGayno-NOAA
Copy link
Collaborator

Do you want just 'weight_gen' or the entire 'gaussian_sfcanl' suite of programs?

@aerorahul
Copy link
Contributor Author

Just weight_gen, as it seems a much more general utility. The Gaussian Surface analysis utility has a specific application for global applications.
We can discuss it's use and appropriate location later.
This issue was to start that conversation.
Thank you.

@GeorgeGayno-NOAA
Copy link
Collaborator

Just weight_gen, as it seems a much more general utility. The Gaussian Surface analysis utility has a specific application for global applications. We can discuss it's use and appropriate location later. This issue was to start that conversation. Thank you.

I will look at weight_gen today.

@GeorgeGayno-NOAA GeorgeGayno-NOAA self-assigned this Jul 21, 2022
@GeorgeGayno-NOAA GeorgeGayno-NOAA added the enhancement New feature or request label Jul 21, 2022
@aerorahul
Copy link
Contributor Author

Thank you @GeorgeGayno-NOAA
The version in develop has not been converted to cmake.
I have a branch in review that builds this utility w/ CMake.
It is here

@GeorgeGayno-NOAA
Copy link
Collaborator

Thank you @GeorgeGayno-NOAA The version in develop has not been converted to cmake. I have a branch in review that builds this utility w/ CMake. It is here

Thanks. It is working.

GeorgeGayno-NOAA added a commit to GeorgeGayno-NOAA/UFS_UTILS that referenced this issue Jul 21, 2022
GeorgeGayno-NOAA added a commit to GeorgeGayno-NOAA/UFS_UTILS that referenced this issue Jul 21, 2022
GeorgeGayno-NOAA added a commit to GeorgeGayno-NOAA/UFS_UTILS that referenced this issue Jul 26, 2022
GeorgeGayno-NOAA added a commit to GeorgeGayno-NOAA/UFS_UTILS that referenced this issue Jul 26, 2022
GeorgeGayno-NOAA added a commit to GeorgeGayno-NOAA/UFS_UTILS that referenced this issue Jul 27, 2022
GeorgeGayno-NOAA added a commit to GeorgeGayno-NOAA/UFS_UTILS that referenced this issue Jul 27, 2022
GeorgeGayno-NOAA added a commit to GeorgeGayno-NOAA/UFS_UTILS that referenced this issue Jul 27, 2022
GeorgeGayno-NOAA added a commit to GeorgeGayno-NOAA/UFS_UTILS that referenced this issue Jul 27, 2022
GeorgeGayno-NOAA added a commit to GeorgeGayno-NOAA/UFS_UTILS that referenced this issue Jul 27, 2022
GeorgeGayno-NOAA added a commit to GeorgeGayno-NOAA/UFS_UTILS that referenced this issue Jul 27, 2022
GeorgeGayno-NOAA added a commit to GeorgeGayno-NOAA/UFS_UTILS that referenced this issue Jul 27, 2022
GeorgeGayno-NOAA added a commit to GeorgeGayno-NOAA/UFS_UTILS that referenced this issue Jul 27, 2022
GeorgeGayno-NOAA added a commit to GeorgeGayno-NOAA/UFS_UTILS that referenced this issue Jul 28, 2022
GeorgeGayno-NOAA added a commit to GeorgeGayno-NOAA/UFS_UTILS that referenced this issue Aug 1, 2022
GeorgeGayno-NOAA added a commit to GeorgeGayno-NOAA/UFS_UTILS that referenced this issue Aug 1, 2022
GeorgeGayno-NOAA added a commit to GeorgeGayno-NOAA/UFS_UTILS that referenced this issue Aug 1, 2022
GeorgeGayno-NOAA added a commit to GeorgeGayno-NOAA/UFS_UTILS that referenced this issue Aug 1, 2022
GeorgeGayno-NOAA added a commit to GeorgeGayno-NOAA/UFS_UTILS that referenced this issue Aug 1, 2022
GeorgeGayno-NOAA added a commit to GeorgeGayno-NOAA/UFS_UTILS that referenced this issue Aug 1, 2022
GeorgeGayno-NOAA added a commit to GeorgeGayno-NOAA/UFS_UTILS that referenced this issue Aug 1, 2022
GeorgeGayno-NOAA added a commit to GeorgeGayno-NOAA/UFS_UTILS that referenced this issue Aug 1, 2022
GeorgeGayno-NOAA added a commit to GeorgeGayno-NOAA/UFS_UTILS that referenced this issue Aug 1, 2022
@GeorgeGayno-NOAA
Copy link
Collaborator

@aerorahul I think I have everything working. Do you have some existing 'scrip' files I can use for a baseline test? If not, can you try my branch at 5934dbc and let me know if it is working.

GeorgeGayno-NOAA added a commit to GeorgeGayno-NOAA/UFS_UTILS that referenced this issue Aug 2, 2022
@GeorgeGayno-NOAA
Copy link
Collaborator

@aerorahul I think I have everything working. Do you have some existing 'scrip' files I can use for a baseline test? If not, can you try my branch at 5934dbc and let me know if it is working.

@KateFriedman-NOAA Are there some existing 'scrip' files in our 'fix' directories?

@KateFriedman-NOAA
Copy link
Collaborator

@GeorgeGayno-NOAA Did you meant "script"? Please clarify.

In case it's useful, here is the list of high-level diffs between fix and fix_NEW right now:

/scratch1/NCEPDEV/global/glopara/diff_fix_fix_NEW.out

@GeorgeGayno-NOAA
Copy link
Collaborator

@GeorgeGayno-NOAA Did you meant "script"? Please clarify.

In case it's useful, here is the list of high-level diffs between fix and fix_NEW right now:

/scratch1/NCEPDEV/global/glopara/diff_fix_fix_NEW.out

No, I mean ESMF 'scrip'. When I run the 'weight_gen' program, it outputs a gaussian 'scrip' file (in NetCDF) for different resolutions. Are those files stored under 'fix' somewhere? I saw some 'scrip' files under 'fix_reg2grb2', but they were not gaussian.

@aerorahul and @yangfanglin Who uses this program?

@yangfanglin
Copy link
Contributor

@GeorgeGayno-NOAA You can find similar files under /scratch1/NCEPDEV/global/glopara/fix_nco_gfsv16/fix_fv3_gmted2010 on Hera. They were use to convert forecast output on tiles written out by FMS to Gaussian grid. I and Phil/Jeff used these SCRIP files for FV3GFS early development when the WRITE GRID COMPONENT capability was still under development. The driver script that uses these SCRIP files is ./global-workflow/ush/fv3gfs_regrid_nemsio.sh

@KateFriedman-NOAA
Copy link
Collaborator

@GeorgeGayno-NOAA I think @yangfanglin answered your question, he would know more than me anyway. :)

GeorgeGayno-NOAA added a commit to GeorgeGayno-NOAA/UFS_UTILS that referenced this issue Aug 9, 2022
GeorgeGayno-NOAA added a commit to GeorgeGayno-NOAA/UFS_UTILS that referenced this issue Aug 11, 2022
GeorgeGayno-NOAA added a commit to GeorgeGayno-NOAA/UFS_UTILS that referenced this issue Aug 18, 2022
GeorgeGayno-NOAA added a commit that referenced this issue Aug 18, 2022
Add new "weight_gen" utility from the global-workflow.
Include new consistency test, and scripts to run
the utility on supported machines. Update doxygen and
'readthedocs' documentation.

Fixes #673.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants