[ncl-talk] conform function changes values
Ronald Opio
opioronald123 at gmail.com
Thu Jan 19 00:54:11 MST 2023
Hello Dennis.
Please see the file attached herein. It has all file dimensions plus the
min and max of each variable.
Notice that the min and max change when the file is conformed.
On Thu, Jan 19, 2023 at 7:33 AM Dennis Shea <shea at ucar.edu> wrote:
> What are the dimensions of PS and T ?
>
> printVarSummary (TS)
> printVarSummary (PS)
>
> On Wed, Jan 18, 2023 at 3:13 AM Ronald Opio via ncl-talk <
> ncl-talk at mailman.ucar.edu> wrote:
>
>> Hello colleagues.
>>
>> I have used the NCL conform function to change the dimensions of a
>> surface temperature file. The "real" file has a resolution of 1-day while
>> the modified file (work-around) has a resolution of 6-hours. See the
>> file attached.
>>
>> I notice that the temperature profile has changed completely and yet I
>> expected that it would remain the same. Does anyone have any idea of how
>> this can be corrected?
>>
>> I have also attached the script I used FYI.
>>
>> Best,
>> Ronald.
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at mailman.ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> https://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20230119/4cd102ea/attachment.htm>
-------------- next part --------------
Copyright (C) 1995-2019 - All Rights Reserved
University Corporation for Atmospheric Research
NCAR Command Language Version 6.6.2
The use of this software is governed by a License Agreement.
See http://www.ncl.ucar.edu/ for more details.
(0) opening files
(0) reading in variables
Variable: TS
Type: float
Total Size: 538583040 bytes
134645760 values
Number of Dimensions: 3
Dimensions and sizes: [time | 7305] x [lat | 96] x [lon | 192]
Coordinates:
time: [60265.5..67569.5]
lat: [-88.57216851400727..88.57216851400727]
lon: [ 0..358.125]
Number Of Attributes: 9
standard_name : surface_temperature
long_name : Surface Temperature
comment : Temperature of the lower boundary of the atmosphere
units : K
cell_methods : area: time: mean
cell_measures : area: areacella
history : 2019-12-02T19:04:59Z altered by CMOR: replaced missing value flag (-9e+33) and corresponding data with standard missing value (1e+20). 2019-12-02T19:04:59Z altered by CMOR: Inverted axis: lat.
missing_value : 1e+20
_FillValue : 1e+20
(0) Surface Temperature (K) : min=197.637 max=324.622
(0) =============================================================================
Variable: PS
Type: float
Total Size: 2154332160 bytes
538583040 values
Number of Dimensions: 3
Dimensions and sizes: [time | 29220] x [lat | 96] x [lon | 192]
Coordinates:
time: [60265.25..67570]
lat: [-88.57216851400727..88.57216851400727]
lon: [ 0..358.125]
Number Of Attributes: 10
standard_name : air_temperature
long_name : Near-Surface Air Temperature
comment : near-surface (usually, 2 meter) air temperature
units : K
cell_methods : area: mean time: point
cell_measures : area: areacella
history : 2020-06-04T08:56:14Z altered by CMOR: Treated scalar dimension: 'height'. 2020-06-04T08:56:14Z altered by CMOR: replaced missing value flag (-9e+33) and corresponding data with standard missing value (1e+20). 2020-06-04T08:56:14Z altered by CMOR: Inverted axis: lat.
coordinates : height
missing_value : 1e+20
_FillValue : 1e+20
(0) Near-Surface Air Temperature (K) : min=199.034 max=327.316
(0) =============================================================================
(0) conforming file
(0) preparing final file
Variable: TS_6hr
Type: float
Total Size: 2154332160 bytes
538583040 values
Number of Dimensions: 3
Dimensions and sizes: [time | 29220] x [lat | 96] x [lon | 192]
Coordinates:
time: [60265.25..67570]
lat: [-88.57216851400727..88.57216851400727]
lon: [ 0..358.125]
Number Of Attributes: 9
missing_value : 1e+20
history : 2019-12-02T19:04:59Z altered by CMOR: replaced missing value flag (-9e+33) and corresponding data with standard missing value (1e+20). 2019-12-02T19:04:59Z altered by CMOR: Inverted axis: lat.
cell_measures : area: areacella
cell_methods : area: time: mean
units : K
comment : Temperature of the lower boundary of the atmosphere
long_name : Surface Temperature
standard_name : surface_temperature
_FillValue : 1e+20
(0) Surface Temperature (K) : min=226.313 max=319.402
More information about the ncl-talk
mailing list