If you're sure the refrigerant is okay, then you might have an issue with the compressor connector or the clutch relay. Have you looked to see whether the clutch is engaged when it misbehaves? You can use the Auto-Active Test in the IPDM to exercise the clutch, see PCS-8 here for how to do it:
https://www.nicoclub.com/service-manual ... %2FPCS.pdf
Here's the rub with checking Nissan HVAC systems -- there are three different devices which have to say, "Okay," before the compressor will engage, and then a fourth device (the IPDM) has to turn on the relay. First, the A/C Auto Amp has to approve, which it won't if any of the sensors is reading Siberia (Ambient for all models, In-Cabin and Intake (evap) for Auto models). Then the BCM has to ascertain that the blower is running. Then the ECM checks the high side refrigerant pressure, and if that whole chain is good, the ECM tells the IPDM to engage the clutch relay. That's why the Auto Active Test is so useful, because it lets you discriminate between electrical problems in the clutch circuit or upstream "vetoes" from other devices without needing to interrogate the CANbus. If the clutch works during AAT but doesn't turn on with the dash controls, you know immediately that somebody is exercising a veto.