Opened 5 years ago

Last modified 3 years ago

#226 accepted New feature

flex_extract WRF data

Reported by: anphi Owned by: anphi
Priority: major Milestone: flex_extract_v7.2
Component: flex_extract Version: flex_extract_v7.0.4
Keywords: Cc: leohaim

Description

Message by ahilboll:

I noticed that when downloading data with GAUSS=1 and ETA=0 (which is, if I understand the comments in flexpartTools.py correctly, the recommended setting for ERA-Interim), the U and V parameters are downloaded in SH grid, not on GG - which means that it probably cannot be ingested by WRF's ungrib.exe. Or am I missing something here?

Furthermore, D is contained in the WRF files twice, once in GG and once in SH. That's because it explicitly gets added to the GG list in the

if c.wrf=='1':

block even though it's already part of SH.

So maybe, the way would be to do

                if c.wrf=='1':
                    self.params['OG__ML'][0]+='/Z/VO'
                    for var_ in ['/D', '/U', '/V']:
                        if var_ not in self.params['OG__ML'][0]:
                            self.params['OG__ML'][0]+=var_

to add the GG U and V fields to the download list, and then (~line 1188)

                    if c.wrf=='1' and gridtype=='regular_ll':                   
                        if levtype=='hybrid':                                   
                            if paramId in [129,130,131,132,133,138,155]:        
                                grib_write(gid,fwrf)                            
                        else:                                                   
                            if paramId in wrfpars:                              
                                grib_write(gid,fwrf)                            

Change History (5)

comment:1 Changed 5 years ago by anphi

I will consider this in version 7.1!

comment:2 Changed 4 years ago by anphi

This issue is NOT considered in version 7.1 and is still to be done in a future version.

comment:3 Changed 4 years ago by anphi

  • Milestone changed from flex_extract_v7.1 to flex_extract_v7.2

comment:4 Changed 4 years ago by anphi

  • Type changed from Task to New feature

comment:5 Changed 3 years ago by anphi

  • Status changed from new to accepted
Note: See TracTickets for help on using tickets.
hosted by ZAMG