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

can anyone provide an example of spherical harmonics complex packing? #189

Open
edwardhartnett opened this issue Nov 4, 2021 · 6 comments
Assignees
Labels
question Further information is requested

Comments

@edwardhartnett
Copy link
Contributor

Can anyone provide a small, but working, example of the settings needed for spherical harmonics complex packing? Is anyone we know using this?

I am trying to write a test for specpack()/specunpack(), but I don't understand how this packing works - it's quite beyond the sort of math I'm used to. I'm sure I can understand it eventually, but it sure would be helpful if someone who knows it could give me a working example...

See: https://www.nco.ncep.noaa.gov/pmb/docs/grib2/grib2_doc/grib2_temp5-51.shtml

I've got the test I'm trying up here: #188

Currently the code (and test) report success, but the data I get out of specunpack does not match the data I put into specpack. Which is sad.

@BoiVuong-NOAA
Copy link
Contributor

No, I do not know spherical harmonics complex packing. I do not know any GRIB2 in PROD that uses spherical harmonics complex packing.

@Hang-Lei-NOAA
Copy link
Contributor

Hang-Lei-NOAA commented Nov 4, 2021 via email

@Hang-Lei-NOAA
Copy link
Contributor

Hang-Lei-NOAA commented Nov 4, 2021 via email

@edwardhartnett
Copy link
Contributor Author

@Hang-Lei-NOAA can you try to turn this into a test? I can help if you need it...

@Hang-Lei-NOAA
Copy link
Contributor

Hang-Lei-NOAA commented Jun 17, 2024 via email

@edwardhartnett
Copy link
Contributor Author

OK, this got dropped, but @Hang-Lei-NOAA if you can obtain a file which uses this packing, we can turn it into a test. But we need a data file...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
Status: No status
Development

No branches or pull requests

4 participants