Skip to content

Commit

Permalink
fixed the precision of TropOMI CO pressureVertice (#1463)
Browse files Browse the repository at this point in the history
* fixed the precision of TropOMI CO pressureVertice and update the testoutput

* Update tropomi_no2_co_nc2ioda.py

coding norm

---------

Co-authored-by: Jérôme Barré <[email protected]>
Co-authored-by: Patrick Nichols <[email protected]>
  • Loading branch information
3 people authored Feb 15, 2024
1 parent 0f7b1a7 commit b283308
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/compo/tropomi_no2_co_nc2ioda.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def _read(self):
preslv = ncd.groups['PRODUCT'].groups['SUPPORT_DATA'].\
groups['DETAILED_RESULTS'].variables['pressure_levels'][:]
preslv = np.reshape(preslv, (nlocs, nlevs))
top = np.zeros(nlocs)
top = np.zeros(nlocs, dtype=np.float32)

# assemble presvertices with top vertice
preslv = np.append(top[:, np.newaxis], preslv, axis=1)
Expand Down
4 changes: 2 additions & 2 deletions test/testoutput/tropomi_co_total.nc
Git LFS file not shown

0 comments on commit b283308

Please sign in to comment.