Skip to content

Modern diag_manager: add diurnal axis#1138

Merged
thomas-robinson merged 14 commits into
NOAA-GFDL:dmUpdatefrom
uramirez8707:add_diurnal_axis
Mar 7, 2023
Merged

Modern diag_manager: add diurnal axis#1138
thomas-robinson merged 14 commits into
NOAA-GFDL:dmUpdatefrom
uramirez8707:add_diurnal_axis

Conversation

@uramirez8707
Copy link
Copy Markdown
Contributor

Description
Defines a new type of axis for the diurnal axis
Writes out the diurnal axis metadata and data
Adds a test for it

Fixes # (issue)

How Has This Been Tested?
CI

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules
  • New check tests, if applicable, are included
  • make distcheck passes

Comment thread diag_manager/fms_diag_axis_object.F90 Outdated

dim_name(1) = this%axis_name
call register_axis(fileobj, this%axis_name, size(this%diurnal_data))
call register_field(fileobj, this%axis_name, pack_size_str, dim_name)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think you need dim_name. You should be able to do

    call register_field(fileobj, this%axis_name, pack_size_str, (/this%axis_name/))

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

c0fae86

lol just testing you

Comment thread diag_manager/fms_diag_object.F90
varlist:
- module: ocn_mod
var_name: var1
reduction: diurnal12
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

YAY!

@thomas-robinson thomas-robinson merged commit 98468cf into NOAA-GFDL:dmUpdate Mar 7, 2023
rem1776 pushed a commit to rem1776/FMS that referenced this pull request May 1, 2024
rem1776 pushed a commit to rem1776/FMS that referenced this pull request May 1, 2024
rem1776 pushed a commit to rem1776/FMS that referenced this pull request May 1, 2024
rem1776 pushed a commit to rem1776/FMS that referenced this pull request May 1, 2024
rem1776 pushed a commit to rem1776/FMS that referenced this pull request May 1, 2024
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

Successfully merging this pull request may close these issues.

2 participants