Search found 56 matches

by bruceyoung01
Mon Jul 13, 2020 10:55 am
Forum: WRF Compiling/Installation
Topic: error on str_with_rc in module_wrf_error.F
Replies: 4
Views: 1826

Re: error on str_with_rc in module_wrf_error.F

Thank you very much, Dr. Chen. Now it works.
by bruceyoung01
Fri Jul 10, 2020 7:43 pm
Forum: WRF Compiling/Installation
Topic: error on str_with_rc in module_wrf_error.F
Replies: 4
Views: 1826

Re: error on str_with_rc in module_wrf_error.F

Thank you, Dr. Chen. I followed your suggestions. After using the command sed -e "s/^\!.*'.*//" -e "s/^ *\!.*'.*//" module_wrf_error.F > module_wrf_error.G The statement "str_with_rc = TRIM(str // rc_str)" is correct in the file module_wrf_error.G. Then I changed the two lines 139 and 140. Then clea...
by bruceyoung01
Thu Jul 02, 2020 3:07 pm
Forum: WRF Compiling/Installation
Topic: error on str_with_rc in module_wrf_error.F
Replies: 4
Views: 1826

error on str_with_rc in module_wrf_error.F

When I compiled wrf3.5 using gfortran 7.3.0, I got the following error module_wrf_error.f90:131:26: str_with_rc = TRIM(str 1 Error: Syntax error in argument list at (1) 0.01user 0.26system 0:00.30elapsed 91%CPU (0avgtext+0avgdata 7928maxresident)k 0inputs+16outputs (0major+14187minor)pagefaults 0swa...
by bruceyoung01
Tue Nov 19, 2019 6:54 pm
Forum: Science
Topic: Prognostic variables in MPAS
Replies: 0
Views: 185

Prognostic variables in MPAS

I want to double check the prognostic variables in MPAS. Would you please list all the prognostic variables in MPAS? Are qv, qc, ,qr, qi, qs, qg, and relhum prognostic variables? I know theta_m is one prognostic variable in MPAS which should be calculated through temperature, pressure and moisture. ...
by bruceyoung01
Thu Oct 31, 2019 3:58 pm
Forum: Running
Topic: most important variables in restart file to restart MPAS
Replies: 0
Views: 219

most important variables in restart file to restart MPAS

I want to know which variables are most important to restart MPAS model run. I know these variables should be related to the 7 governing equations. Would you please point them out? Thank you very much.
by bruceyoung01
Thu Oct 31, 2019 12:14 am
Forum: Code development
Topic: add latitude and longitude info into the diag file
Replies: 2
Views: 289

Re: add latitude and longitude info into the diag file

This is much easier. Thank you for letting me know this.
by bruceyoung01
Wed Oct 30, 2019 10:56 pm
Forum: Code development
Topic: add latitude and longitude info into the diag file
Replies: 2
Views: 289

add latitude and longitude info into the diag file

I found there is no latitude and longitude information in the diag file. It's better to add this info into diag file. At least, it's more convenient to use it. Otherwise, we need to use both history file and diag file together. Thank you.
by bruceyoung01
Wed Oct 30, 2019 1:56 am
Forum: Post-processing
Topic: Plot moist potential temperature at 500 hPa
Replies: 1
Views: 282

Plot moist potential temperature at 500 hPa

Do we have NCL or python program to interpolate MPAS history data into specific geopotential height, e.g., 500 hPa? Or other relative easy way to interpolate it. I know we have some variables interpolated at specific geopotential height from diag files, e.g., temperature_500hPa. Thank you
by bruceyoung01
Tue Oct 29, 2019 11:35 pm
Forum: Science
Topic: vertical interpolation
Replies: 3
Views: 328

Re: vertical interpolation

Thank you. I am using zgrid. Does zgrid change with time? I noticed the dimension of zgrid is (nCells, nVertLevelsP1). There is no time dimension. It seems it does not change with time. Also, from the vertical grid definition in the MPAS users guide, z = zeta + A*h_s(x,y,zeta). I am not sure whether...
by bruceyoung01
Tue Oct 29, 2019 2:27 am
Forum: Science
Topic: vertical interpolation
Replies: 3
Views: 328

vertical interpolation

I want to interpolate temperature from one restart file to the vertical levels from another restart file. So which vertical variable will be used as the vertical coordinate? I see zz, zgrid, etc. Thank you
by bruceyoung01
Thu Sep 05, 2019 2:03 pm
Forum: Running
Topic: WRF-Chem3.9 grid separated field
Replies: 0
Views: 143

WRF-Chem3.9 grid separated field

I am running WRF-Chem 3.9 with NEI2011 emission over the eastern US with spatial resolution of 3 km by 3 km. When I plot the output of surface O3 mixing ratio, the field looks like one grid by grid, not continuous between grids. Please see the attached plot. Do you have any thoughts on this? For 4 k...
by bruceyoung01
Tue Sep 03, 2019 4:48 pm
Forum: Post-processing
Topic: visualizing MPAS output using ncview
Replies: 2
Views: 295

Re: visualizing MPAS output using ncview

This is a great tool. I will convert first. Thank you
by bruceyoung01
Tue Sep 03, 2019 4:47 pm
Forum: Miscellaneous DA Topics
Topic: ERROR while reading namelist wrfvar11
Replies: 2
Views: 260

Re: ERROR while reading namelist wrfvar11

Good to know. Thank you for your help. When I put smaller number, it does work. I know "seed_array1" is a random number, but I only know this. From the WRF user's guide, it says that "seed_array1 is First integer for seeding the random function (default: 1)". Would you please explain a little bit ab...
by bruceyoung01
Tue Sep 03, 2019 3:36 pm
Forum: Post-processing
Topic: visualizing MPAS output using ncview
Replies: 2
Views: 295

visualizing MPAS output using ncview

Did anyone try to use ncview to plot the output data from MPAS? For me, it seems ncview does not work to plot maps for MPAS.
by bruceyoung01
Fri Aug 30, 2019 4:06 pm
Forum: Miscellaneous DA Topics
Topic: ERROR while reading namelist wrfvar11
Replies: 2
Views: 260

ERROR while reading namelist wrfvar11

I have an error while running da_wrfvar.exe to generate namelist.output.da file. The namelist.output.da file does not have the following namelist terms > &WRFVAR11 > CV_OPTIONS_HUM= 1, > CHECK_RH= 2, > SET_OMB_RAND_FAC= 1.0000000000000000 , > SEED_ARRAY1= 2110061520, > SEED_ARRAY2= 100000, > SFC_ASS...
by bruceyoung01
Wed Jul 31, 2019 2:26 am
Forum: Emissions
Topic: NEI emission for MOZART
Replies: 0
Views: 227

NEI emission for MOZART

I have a question about NEI emissions while running WRF-Chem. Can I generate MOZART anthropogenic emission for WRFChem using NEI emission? I know we usually use RADM2 for NEI emission.
by bruceyoung01
Fri Jul 26, 2019 9:50 pm
Forum: Running
Topic: how to read in the initial condition every time step in MPAS
Replies: 8
Views: 512

Re: how to read in the initial condition every time step in MPAS

I am running for the global simulation. In this case, theta_m will not be lateral boundary condition or initial condition. I will treat it as updated theta_m. Now I know I need to write a script to make the whole process run automatically. Thank you
by bruceyoung01
Fri Jul 26, 2019 8:27 pm
Forum: Running
Topic: how to read in the initial condition every time step in MPAS
Replies: 8
Views: 512

Re: how to read in the initial condition every time step in MPAS

My ultimate goal is to use updated theta_m as the lateral boundary condition for every time interval (e.g., 1, or 3, or 6 hours). In that case, I would get better simulation results, since I update theta_m every time interval. One sentence in all: use updated theta_m every time interval to get bette...
by bruceyoung01
Fri Jul 26, 2019 4:39 pm
Forum: Running
Topic: how to read in the initial condition every time step in MPAS
Replies: 8
Views: 512

Re: how to read in the initial condition every time step in MPAS

Yes, I have modified theta_m in the restart file. Later on, after restarting, I need to read new updated theta_m every time step, not only one step (initial step). As we know, when we simulate using WRF, WRF will read met_em* file every step, not only initial one. I want MPAS to read updated theta_m...
by bruceyoung01
Thu Jul 25, 2019 8:11 pm
Forum: Running
Topic: how to read in the initial condition every time step in MPAS
Replies: 8
Views: 512

Re: how to read in the initial condition every time step in MPAS

What is a "cold-start"? Would you please explain it a little bit more?

I think I mean the second one. I want to update a subset of the prognostic fields (Most potential temperature, theta_m) and then restart the simulation using the updated fields.
by bruceyoung01
Thu Jul 25, 2019 12:08 am
Forum: Running
Topic: how to read in the initial condition every time step in MPAS
Replies: 8
Views: 512

how to read in the initial condition every time step in MPAS

I know we only need to provide MPAS with one initial condition (e.g., GFS analysis dataset prepared using WPS), then it can run forecast automatically. However, if I want to read new initial condition every time step, let's say every 3 hours (or 6 hours). How do we need to specify the namelist? or d...
by bruceyoung01
Thu Jul 11, 2019 1:46 pm
Forum: Code development
Topic: add a new variable to mpas history output file and restart file
Replies: 9
Views: 2740

Re: add a new variable to mpas history output file and restart file

If all the required variables are in the restart file, the second method would be better. When I took a look into the restart file, I noticed that there are exner_base and exner. I know in WRF that there are P (perturbation pressure) and PB (base state pressure). I am not sure in MPAS whether exner ...
by bruceyoung01
Wed Jul 10, 2019 8:42 pm
Forum: Code development
Topic: add a new variable to mpas history output file and restart file
Replies: 9
Views: 2740

Re: add a new variable to mpas history output file and restart file

This is a great idea which can save me a lot of efforts and time. Before I do that, I'd like to confirm with you the equations used to convert temperature to moist potential temperature (theta_m) or vice versa. Relationship between theta and theta_m: theta_m = theta*(1+q_v*R_v/R_d) This equation is ...
by bruceyoung01
Wed Jul 10, 2019 1:23 pm
Forum: Code development
Topic: add a new variable to mpas history output file and restart file
Replies: 9
Views: 2740

Re: add a new variable to mpas history output file and restart file

Michael, do you have any suggestions on the questions above? Thank you
by bruceyoung01
Wed Jul 03, 2019 7:58 pm
Forum: Code development
Topic: add a new variable to mpas history output file and restart file
Replies: 9
Views: 2740

Re: add a new variable to mpas history output file and restart file

In my case, I need to output temperature into both history and restart files. I have a question about the code. Where should I add the code you mentioned above? For my understanding, first, I need to check where temperature (3D) is calculated in MPAS and the temperature variable name. Second, temper...

Go to advanced search