fzhu2e / cfr

A Python package for Climate Field Reconstruction
https://fzhu2e.github.io/cfr
BSD 3-Clause "New" or "Revised" License
13 stars 6 forks source link

the nc_file must have one var and its name must be tar or pr?how can i use the rename_dic #17

Closed KINDREDFFF closed 4 months ago

KINDREDFFF commented 5 months ago

image

fzhu2e commented 5 months ago

Yes. In path_dict, it should be tas and pr. In rename_dict, it should be like:

rename_dict = {
    'tas': 'tmp',
    'pr': 'pre',
}
KINDREDFFF commented 5 months ago

image image

fzhu2e commented 5 months ago

In path_dict, it should be tas and pr, instead of the original variable names. tas and pr have special meanings in cfr.

KINDREDFFF commented 5 months ago

emm...how can I solve it

fzhu2e commented 5 months ago
path_dict = {
    'tas': ...,
    'pr': ...,
}