Changeset 2990 for trunk/LMDZ.MARS/util/expandstartfi.F90
- Timestamp:
- Jul 6, 2023, 10:28:41 AM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/util/expandstartfi.F90
r2975 r2990 486 486 487 487 ! "convert" from surf_field(:) to out_surf_field(:,:) 488 do i=1,lonlen 488 if (trim(varname)=="area") then 489 ! Very specific handling of mesh area at the poles 490 ! which need to be split along all longitudes 491 do i=1,lonlen 492 out_surf_field(i,1)=surf_field(1)/(lonlen-1) 493 out_surf_field(i,latlen)=surf_field(physical_points)/(lonlen-1) 494 enddo 495 else ! All other variables 496 do i=1,lonlen 489 497 out_surf_field(i,1)=surf_field(1) ! North Pole 490 498 out_surf_field(i,latlen)=surf_field(physical_points) ! South Pole 491 enddo 499 enddo 500 endif ! of if (trim(varname)=="area") 492 501 do j=2,latlen-1 493 502 ig0=1+(j-2)*(lonlen-1)
Note: See TracChangeset
for help on using the changeset viewer.