|
Last change
on this file since 220 was
207,
checked in by aslmd, 14 years ago
|
|
MESOSCALE: A GENERAL CLEAN-UP FOLLOWING UPDATING THE USER MANUAL. EVERYTHING ESSENTIAL IS IN MESOSCALE (much lighter than before). EVERYTHING FOR DEVELOPPERS OR EXPERTS IS IN MESOSCALE_DEV.
|
|
File size:
716 bytes
|
| Line | |
|---|
| 1 | !! Diagnostics: Wind Speed |
|---|
| 2 | |
|---|
| 3 | MODULE module_calc_wspd |
|---|
| 4 | |
|---|
| 5 | CONTAINS |
|---|
| 6 | SUBROUTINE calc_wspd(SCR, cname, cdesc, cunits, i3dflag) |
|---|
| 7 | |
|---|
| 8 | USE module_model_basics |
|---|
| 9 | |
|---|
| 10 | !Arguments |
|---|
| 11 | real, pointer, dimension(:,:,:) :: SCR |
|---|
| 12 | character (len=128) :: cname, cdesc, cunits |
|---|
| 13 | |
|---|
| 14 | !Local Variables |
|---|
| 15 | integer :: i3dflag |
|---|
| 16 | |
|---|
| 17 | |
|---|
| 18 | |
|---|
| 19 | IF ( i3dflag == 1 ) THEN |
|---|
| 20 | SCR = SQRT(UUU*UUU + VVV*VVV) |
|---|
| 21 | cname = "wspd" |
|---|
| 22 | cdesc = "Wind Speed" |
|---|
| 23 | ELSE |
|---|
| 24 | SCR(:,:,1) = SQRT(U10(:,:)*U10(:,:) + V10(:,:)*V10(:,:)) |
|---|
| 25 | cname = "ws10" |
|---|
| 26 | cdesc = "Wind Speed at 10 M" |
|---|
| 27 | ENDIF |
|---|
| 28 | |
|---|
| 29 | cunits = "m s-1" |
|---|
| 30 | |
|---|
| 31 | END SUBROUTINE calc_wspd |
|---|
| 32 | |
|---|
| 33 | END MODULE module_calc_wspd |
|---|
| 34 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.