Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

post processing scripts for cesm2 and CAM

I am seeking scripts to generate CMOR-compliant timeseries from CESM 2.1 hist files (and especially CAM, within it). I'm running on a linux cluster.

Looking at NCAR/CESM_postprocessing, I'm guided to use 2.7, and install with pip.
Is that still the case? (The same page says work was ongoing with conda.)

The first package, pyngl now says use conda and recommends python3.

I'd welcome guidance please.

Thanks
Mike
 

dbailey

CSEG and Liaisons
Staff member
Porting the CESM Postprocessing to other platforms can be tricky. Plus the main person responsible for this has retired. However, these scripts do not produce "CMOR" compliant timeseries. Let me check with @strandwg.
 

strandwg

Moderator
Staff member
I am seeking scripts to generate CMOR-compliant timeseries from CESM 2.1 hist files (and especially CAM, within it). I'm running on a linux cluster.

Looking at NCAR/CESM_postprocessing, I'm guided to use 2.7, and install with pip.
Is that still the case? (The same page says work was ongoing with conda.)

The first package, pyngl now says use conda and recommends python3.

I'd welcome guidance please.

Thanks
Mike

The code you mention converts the history output to timeseries format, it doesn't do the translation to CMOR format.

CESM doesn't yet have a general-purpose package for that purpose. It's one of my longer-term projects to work on.
 
Many thanks - if I drop CMOR from my wishlist, and just seek timeseries, while noting dbailey's comments, is there more guidance to give to navigate the packages available?
Is there a swift version?
Regards
Mike
 

strandwg

Moderator
Staff member
Many thanks - if I drop CMOR from my wishlist, and just seek timeseries, while noting dbailey's comments, is there more guidance to give to navigate the packages available?
Is there a swift version?

There is a tool called PyReshaper that will convert history files to timeseries format. It will operate in parallel but it doesn't use swift.

Please see its GitHub page at

 
Top