-
Notifications
You must be signed in to change notification settings - Fork 85
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
Issue with converting Sentinel-5P NetCDF file to GeoTIFF file #530
Comments
I recommend selecting the subset of data variables that have data on a geospatial grid before exporting. The error is coming from an attempt to export a non-gridded variable to a raster. |
I tried with other parameters available in the dataset and getting the same result as mentioned earlier:
Kindly suggest. |
It sounds like a valid grid doesn't exist in the dataset. |
I had tried the following code:
After running the above code I am able to get point shapefile where the parameter has valid data https://drive.google.com/file/d/1bPE3ssiN4upyStThPuZMHew-Myzngwos/view?usp=sharing. The above shapefile was verified by visualizing the output of the below code:
The output of the above code is https://drive.google.com/file/d/1iisKq263bX7wPo8eTWZ9zTyVbUQor-rG/view?usp=sharing. Now I am stuck with how to convert this point shapefile to polygon shapefile which then I can convert to raster. |
#209 might be a helpful reference. |
I had tried your suggestion using geocube library:
The GeoTIFF created shows absurd result https://drive.google.com/file/d/1qMKg_ZJOzFAjJRwVNF1aBKzxeLlU7CyW/view?usp=sharing. Can you please suggest how to resolve this issue. |
This may be helpful: https://github.com/bopen/xarray-sentinel |
I think this is related to sentinel 1 data processing. |
The code could be a good reference as there might be similarities. The developers might be able to offer suggestions. And, if you come up with a solution for your data, you may be able to contribute it there. |
I am trying to convert Sentinel-5P NetCDF file (available at https://drive.google.com/file/d/1dJdhQspdI3p5YyyiBBiNxUPCCOU91QrU/view?usp=sharing) to GeoTIFF using the following code:
After running the above code I am getting the following
error: MissingSpatialDimensionError: x dimension (longitude) not found. Data variable: methane_mixing_ratio
How can I resolve this issue?
The text was updated successfully, but these errors were encountered: