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

Determine number of columns in a chunk in nudging process

nuvolet

Toni Viudez
Member
Greetings,

I am using the nudging process in a particular case run and looking at the nudging.F90 module located in the ~/components/cam/src/physics/cam, I found that any reanalysis variable such as U, V, T or Q is read from the reanalysis files, which are gridded data and they converted in chunks by using the subroutine scatter_field_to_chunk
There is anyway to know the number of columns and elements in each chunk?

Thanks in advance
 

cacraig

Cheryl Craig
CSEG and Liaisons
Staff member
I am only able to give you a limited answer as I am unable to determine what exactly is your issue.

Looking at the cam6_3_057 tag, the file src/physics/cam/nudging.F90 does not have a call to scatter_field_to_chunk in it.

Typically throughout the CAM code, state%ncol will contain the number of columns that are in the chunk. The number of columns may also be retrieved by calling the subroutine get_ncols_p(lchnk) where lchnk is the chunk which is being used. In the cam6_3_057 version of nudging.F90, ncol is being retrieved using the get_ncols_p subroutine.

I'm not sure what you mean by the "number of elements in each chunk".

If this doesn't answer your question completely, we request that you give us more information as detailed at:
 
Top