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

warnings and error from gdal.Warp in MODIS_L2P_SST_DataCube.ipynb #39

Open
rickedanielson opened this issue Mar 19, 2022 · 1 comment
Open

Comments

@rickedanielson
Copy link

rickedanielson commented Mar 19, 2022

The MODIS_L2P_SST_DataCube.ipynb output file MODIS_SST.data-cube.nc is missing all gdal.Warp SST output, but that might just be caused by an ad hoc python environment:

Currently Loaded Modules:

  1. CCconfig 5) mii/1.1.1 9) python/3.8.10 (t) 13) expat/2.2.9 (t) 17) gcccore/.9.3.0 (H) 21) hdf5/1.10.6 (io)
  2. gentoo/2020 (S) 6) ucx/1.8.0 10) ipykernel/2020b 14) udunits/2.2.26 (t) 18) gcc/9.3.0 (t) 22) netcdf/4.7.4 (io)
  3. imkl/2020.1.217 (math) 7) libfabric/1.10.1 11) scipy-stack/2020b (math) 15) antlr/2.7.7 19) openmpi/4.0.3 (m) 23) gdal/3.0.4 (geo)
  4. StdEnv/2020 (S) 8) libffi/3.3 12) proj/8.0.0 (geo) 16) libdap/3.20.6 20) gsl/2.6 (math) 24) nco/4.9.5 (io)

If not, are these warnings/error caused by an unexpected(?) use of ni,nj to store the L2 lat/lon arrays:

{'format': 'netCDF', 'copyMetadata': True, 'outputBounds': [-163, 15, -153, 25], 'xRes': 0.01, 'yRes': 0.01, 'dstSRS': '+proj=longlat +datum=WGS84 +no_defs', 'resampleAlg': 'bilinear'}
source filename: /project/riced/work/req/modis-datacube-output/20200702234001-JPL-L2P_GHRSST-SSTskin-MODIS_A-D-v02.0-fv01.0_subsetted.nc4
NETCDF:/project/riced/work/req/modis-datacube-output/20200702234001-JPL-L2P_GHRSST-SSTskin-MODIS_A-D-v02.0-fv01.0_subsetted.nc4:sea_surface_temperature
Warning 1: dimension #2 (ni) is not a Longitude/X dimension.
Warning 1: dimension #1 (nj) is not a Latitude/Y dimension.
Warning 1: dimension #2 (time) is not a Longitude/X dimension.
Warning 1: dimension #1 (ni) is not a Latitude/Y dimension.
Warning 1: 1-pixel width/height files not supported, xdim: 1 ydim: 903
Warning 1: No 1D variable is indexed by dimension nj
Warning 1: dimension #2 (time) is not a Longitude/X dimension.
Warning 1: dimension #1 (ni) is not a Latitude/Y dimension.
Warning 1: 1-pixel width/height files not supported, xdim: 1 ydim: 903
Warning 1: No 1D variable is indexed by dimension nj
ERROR 1: Too many points (529 out of 529) failed to transform, unable to compute output bounds.
Warning 1: Unable to compute source region for output window 0,0,1000,1000, skipping.

[2022-03-19 02:59:01.376839]  SUCCESS for: /project/riced/work/req/modis-datacube-output/subset_reproject-sea_surface_temperature-20200702234001-JPL-L2P_GHRSST-SSTskin-MODIS_A-D-v02.0-fv01.0_subsetted.nc4
@edshred2000
Copy link
Contributor

Investigating. Something in the gdal module has changed.

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

2 participants