Changeset 2198 for LMDZ5/trunk/libf
- Timestamp:
- Feb 9, 2015, 9:36:55 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/phyaqua_mod.F90
r2107 r2198 538 538 dims(2) = ntim 539 539 540 ! cc ierr = NF_DEF_VAR (nid, "TEMPS", NF_DOUBLE, 1,ntim, id_tim) 540 #ifdef NC_DOUBLE 541 ierr = nf_def_var(nid, 'TEMPS', nf_double, 1, ntim, id_tim) 542 #else 541 543 ierr = nf_def_var(nid, 'TEMPS', nf_float, 1, ntim, id_tim) 544 #endif 542 545 ierr = nf_put_att_text(nid, id_tim, 'title', 17, 'Jour dans l annee') 543 ! cc ierr = NF_DEF_VAR (nid, "NAT", NF_DOUBLE, 2,dims, id_NAT) 546 547 #ifdef NC_DOUBLE 548 ierr = nf_def_var(nid, 'NAT', nf_double, 2, dims, id_nat) 549 #else 544 550 ierr = nf_def_var(nid, 'NAT', nf_float, 2, dims, id_nat) 551 #endif 545 552 ierr = nf_put_att_text(nid, id_nat, 'title', 23, & 546 553 'Nature du sol (0,1,2,3)') 547 ! cc ierr = NF_DEF_VAR (nid, "SST", NF_DOUBLE, 2,dims, id_SST) 554 555 #ifdef NC_DOUBLE 556 ierr = nf_def_var(nid, 'SST', nf_double, 2, dims, id_sst) 557 #else 548 558 ierr = nf_def_var(nid, 'SST', nf_float, 2, dims, id_sst) 559 #endif 549 560 ierr = nf_put_att_text(nid, id_sst, 'title', 35, & 550 561 'Temperature superficielle de la mer') 551 ! cc ierr = NF_DEF_VAR (nid, "BILS", NF_DOUBLE, 2,dims, id_BILS) 562 563 #ifdef NC_DOUBLE 564 ierr = nf_def_var(nid, 'BILS', nf_double, 2, dims, id_bils) 565 #else 552 566 ierr = nf_def_var(nid, 'BILS', nf_float, 2, dims, id_bils) 567 #endif 553 568 ierr = nf_put_att_text(nid, id_bils, 'title', 32, & 554 569 'Reference flux de chaleur au sol') 555 ! cc ierr = NF_DEF_VAR (nid, "ALB", NF_DOUBLE, 2,dims, id_ALB) 570 571 #ifdef NC_DOUBLE 572 ierr = nf_def_var(nid, 'ALB', nf_double, 2, dims, id_alb) 573 #else 556 574 ierr = nf_def_var(nid, 'ALB', nf_float, 2, dims, id_alb) 575 #endif 557 576 ierr = nf_put_att_text(nid, id_alb, 'title', 19, 'Albedo a la surface') 558 ! cc ierr = NF_DEF_VAR (nid, "RUG", NF_DOUBLE, 2,dims, id_RUG) 577 578 #ifdef NC_DOUBLE 579 ierr = nf_def_var(nid, 'RUG', nf_double, 2, dims, id_rug) 580 #else 559 581 ierr = nf_def_var(nid, 'RUG', nf_float, 2, dims, id_rug) 582 #endif 560 583 ierr = nf_put_att_text(nid, id_rug, 'title', 8, 'Rugosite') 561 584 585 #ifdef NC_DOUBLE 586 ierr = nf_def_var(nid, 'FTER', nf_double, 2, dims, id_fter) 587 #else 562 588 ierr = nf_def_var(nid, 'FTER', nf_float, 2, dims, id_fter) 563 ierr = nf_put_att_text(nid, id_fter, 'title', 8, 'Frac. Terre') 589 #endif 590 ierr = nf_put_att_text(nid, id_fter, 'title',10,'Frac. Land') 591 #ifdef NC_DOUBLE 592 ierr = nf_def_var(nid, 'FOCE', nf_double, 2, dims, id_foce) 593 #else 564 594 ierr = nf_def_var(nid, 'FOCE', nf_float, 2, dims, id_foce) 565 ierr = nf_put_att_text(nid, id_foce, 'title', 8, 'Frac. Terre') 595 #endif 596 ierr = nf_put_att_text(nid, id_foce, 'title',11,'Frac. Ocean') 597 #ifdef NC_DOUBLE 598 ierr = nf_def_var(nid, 'FSIC', nf_double, 2, dims, id_fsic) 599 #else 566 600 ierr = nf_def_var(nid, 'FSIC', nf_float, 2, dims, id_fsic) 567 ierr = nf_put_att_text(nid, id_fsic, 'title', 8, 'Frac. Terre') 601 #endif 602 ierr = nf_put_att_text(nid, id_fsic, 'title',13,'Frac. Sea Ice') 603 #ifdef NC_DOUBLE 604 ierr = nf_def_var(nid, 'FLIC', nf_double, 2, dims, id_flic) 605 #else 568 606 ierr = nf_def_var(nid, 'FLIC', nf_float, 2, dims, id_flic) 569 ierr = nf_put_att_text(nid, id_flic, 'title', 8, 'Frac. Terre') 607 #endif 608 ierr = nf_put_att_text(nid, id_flic, 'title',14,'Frac. Land Ice') 570 609 571 610 ierr = nf_enddef(nid)
Note: See TracChangeset
for help on using the changeset viewer.