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

CH4 hydropower emission files are incompatible with GCHP #2112

Closed
4 tasks done
yantosca opened this issue Jan 9, 2024 · 2 comments
Closed
4 tasks done

CH4 hydropower emission files are incompatible with GCHP #2112

yantosca opened this issue Jan 9, 2024 · 2 comments
Assignees
Labels
category: Bug Something isn't working no-diff-to-benchmark This update will not change the results of fullchem benchmark simulations topic: GCHP Related to GCHP only topic: Input Data Related to input data

Comments

@yantosca
Copy link
Contributor

yantosca commented Jan 9, 2024

Name and Institution (Required)

Name:
Institution:

Confirm you have reviewed the following documentation

Description of your issue or question

The recently-added CH4 emission files from hydropower (Delwiche et al 2023) are incompatible with GCHP because the time dimension is int and not float or dble. Here is the output from the isCoards script

===========================================================================
Filename: ResME_Dam_Emissions.0.1x0.1.nc
===========================================================================

The following items adhere to the COARDS standard:
---------------------------------------------------------------------------
... several COARDS-compiliant items not shown ...

The following items DO NOT ADHERE to the COARDS standard:
---------------------------------------------------------------------------
Variable "time" is of type "int" (problem for GCHP)

The following optional items are RECOMMENDED:
---------------------------------------------------------------------------
-> Consider adding time:axis = "T"
-> Consider adding the "format" global attribute

===========================================================================
Filename: ResME_Surface_Emissions.0.1x0.1.nc
===========================================================================

The following items adhere to the COARDS standard:
---------------------------------------------------------------------------
... several COARDS-compiliant items not shown ...

The following items DO NOT ADHERE to the COARDS standard:
---------------------------------------------------------------------------
Variable "time" is of type "int" (problem for GCHP)

The following optional items are RECOMMENDED:
---------------------------------------------------------------------------
-> Consider adding time:axis = "T"
-> Consider adding the "format" global attribute

Tagging @msulprizio.

Also see related issues:

@yantosca yantosca added category: Bug Something isn't working topic: GCHP Related to GCHP only topic: Input Data Related to input data no-diff-to-benchmark This update will not change the results of fullchem benchmark simulations specialty simulations labels Jan 9, 2024
@yantosca yantosca self-assigned this Jan 9, 2024
@yantosca
Copy link
Contributor Author

NOTE: The ResME_Dam_Emissions.01x01.nc and ResME_Surface_Emissions.01x01.nc files have been modified for GCHP as follows:

  1. The time dimension has been changed from int to float, for compatibility with MAPL ExtData:
$ ncap2 -s 'time=float(time)' ResME_Dam_Emissions.0.1x0.1.nc out.nc
$ mv out.nc  ResME_Dam_Emissions.0.1x0.1.nc
$ ncap2 -s 'time=float(time)' ResME_Surface_Emissions.0.1x0.1.nc out.nc
$ mv out.nc  ResME_Dam_Emissions.0.1x0.1.nc
  1. The time:axis attribute has been set to T. (Not required but this is a recommended update).
$ ncatted -a axis,time,o,c,'T' ResME_Dam_Emissions.0.1x0.1.nc
$ ncatted -a axis,time,o,c,'T' ResME_Surface_Emissions.0.1x0.1.nc
  1. Chunking and deflating were re-applied:
$ nc_chunk.pl ResME_Dam_Emissions.0.1x0.1.nc 1
$ nc_chunk.pl ResME_Surface_Emissions.0.1x0.1.nc 1

@yantosca
Copy link
Contributor Author

Note: Users will have to re-download these files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: Bug Something isn't working no-diff-to-benchmark This update will not change the results of fullchem benchmark simulations topic: GCHP Related to GCHP only topic: Input Data Related to input data
Projects
None yet
Development

No branches or pull requests

1 participant