OCO-2/3 visualization

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
bext_la
Posts: 32
Joined: Thu Feb 29, 2024 2:37 am America/New_York
Answers: 0

Re: OCO-2/3 visualization

by bext_la » Sat Nov 23, 2024 4:44 am America/New_York

Hi

Thanks for scripting.

The code does not work in read lons and lats. is there limit NetCDF Access?

Filters:

GES DISC-EDL - ezamkoff
Posts: 15
Joined: Wed Jul 03, 2024 7:48 am America/New_York
Answers: 0

Re: OCO-2/3 visualization

by GES DISC-EDL - ezamkoff » Tue Nov 26, 2024 12:52 pm America/New_York

Screenshot 2024-11-26 at 12.47.36 PM.png
Screenshot 2024-11-26 at 12.47.36 PM.png (409.66 KiB) Not viewed yet
Hi, here is a new version of the code I wrote that uses Xarray to read in the data. The problem is that this is a big file, so it probably exceeds your capacitylimit, as it did for me. I wrote in "chunking" as well as limited the variables to reading in the first 10 elements to try to make the file more read-able. Please read up on Xarray chunking (can also use chunking with netCDF4). (Note: I also took out the qcf_good line during my debugging which you do need to add back in). Unfortunately, if my suggestions don’t work, I am not able to assist you any further with this issue. Final options I can provide:
1) The Lite product v11.2 was released and is available through 10-01-2024. https://disc.gsfc.nasa.gov/datasets/OCO2_L2_Lite_FP_11.2r/summary?keywords=OCO2_L2_Lite_FP_11.2r
2) If you need "more recent" data and want to continue with the L2_Standard_11.2, I recommend going to the dataset landing page on our GES DISC website and subsetting the data under "get data" to your spatial and temporal needs. That will make the file you download smaller and hopefully more manageable for your code.
3) Carry on debugging the code as is (below) and plot your good-quality XCO2 data.

Thanks again for reaching out. Best wishes, Kristan

bext_la
Posts: 32
Joined: Thu Feb 29, 2024 2:37 am America/New_York
Answers: 0

Re: OCO-2/3 visualization

by bext_la » Wed Nov 27, 2024 8:49 am America/New_York

I tried your update code. but face similar errors in plot.


I previously found OCO-2 Level 2 bias-corrected XCO2 data, which is useful. However, it does not update daily. But certain H5 data values are updated daily.
Attachments
OCO2H5_script_error.PNG
OCO2H5_script_error.PNG (63.44 KiB) Not viewed yet
Last edited by bext_la on Wed Nov 27, 2024 8:50 am America/New_York, edited 1 time in total.

bext_la
Posts: 32
Joined: Thu Feb 29, 2024 2:37 am America/New_York
Answers: 0

Re: OCO-2/3 visualization

by bext_la » Thu Nov 28, 2024 12:17 am America/New_York

Example, This data is updated daily. It is HDF5 and geolocated XCO2. It does not have geotraj type to visualize. May I visualise this file with your script?

https://disc.gsfc.nasa.gov/datasets/OCO2_L2_Diagnostic_11.2/summary?keywords=oco2

GES DISC-EDL - jimacker
Posts: 354
Joined: Mon Sep 30, 2019 1:57 pm America/New_York
Answers: 3
Has thanked: 2 times
Been thanked: 9 times

Re: OCO-2/3 visualization

by GES DISC-EDL - jimacker » Wed Dec 04, 2024 1:17 pm America/New_York

Hello,

Our GES DISC staff members assisting you have advised me that at this time we do not have the personnel resources to help you with code debugging efforts. They recommend examining the three options listed earlier and determining which will best suit your research needs. If you need additional assistance with the use of data in HDF5, the HDF group (https://www.hdfgroup.org/) may be able to help you.

Post Reply