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

Unable to convert AHI data to IODA format #3

Open
ibanos90 opened this issue Jul 12, 2022 · 1 comment
Open

Unable to convert AHI data to IODA format #3

ibanos90 opened this issue Jul 12, 2022 · 1 comment

Comments

@ibanos90
Copy link
Contributor

Hello! I am trying to convert AHI data from AWS cloud https://registry.opendata.aws/noaa-himawari/ but I am not able to successfully convert the data to the IODA format. I tried the Full Disk sample data from https://www.data.jma.go.jp/mscweb/en/himawari89/space_segment/spsg_sample.html as well as the files from HS_H08_20210119_1600_B09_FLDK_R20_S0510.DAT and from the period during 15APR 00Z, 2018 to 14MAY 18Z, 2018 for but without success yet. Some comments on the issues found:

  1. Found an error when reading files with segment number different than 10, as in the case of data from 15APR 00Z, 2018 to 14MAY 18Z, 2018. In the code, the segment in the file name is 'S', isegm, nsegm, where nsegm is fixed as 10, but for these data is 01. I changed this value and then it can read the files.
  2. Once I am able to successfully read the files, there is an issue reading the data from the headers down to the needed information. For some reason (I am not sure why), it does not find any data in the files, for example:
    header%navicorr%correctNum= 0
    then, I get the following error message:
forrtl: severe (408): fort: (8): Attempt to fetch from allocatable variable LINENO when it is not allocated

Image              PC                Routine            Line        Source             
libifcoremt.so.5   00002B90702C0F12  for_emit_diagnost     Unknown  Unknown
obs2ioda.x         000000000041D28E  ahi_hsd_mod_mp_re         324  hsd.f90
obs2ioda.x         0000000000484A0B  MAIN__                    263  main.f90
obs2ioda.x         0000000000402C92  Unknown               Unknown  Unknown
libc-2.22.so       00002B9072360A35  __libc_start_main     Unknown  Unknown
obs2ioda.x         0000000000402B99  Unknown               Unknown  Unknown

This error makes reference to a variable that is not allocated, but it's only allocated if there are observations in the file (header%navicorr%correctNum> 0), so it's related to the same problem.

In addition, I tried the sample source code in C Programming Language https://www.data.jma.go.jp/mscweb/en/himawari89/space_segment/hsd_sample/sample_code_netcdf121.zip with which I was able to convert the data to netcdf (not IODA) successfully, for the same data (e.g., HS_H08_20210119_1600_B09_FLDK_R20_S0510.DAT).

@ibanos90
Copy link
Contributor Author

@jjguerrette, @junmeiban, @liujake

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

No branches or pull requests

1 participant